| Literature DB >> 28938003 |
Lucian A B Purvis1, William T Clarke1, Luca Biasiolli1, Ladislav Valkovič1,2, Matthew D Robson1, Christopher T Rodgers1.
Abstract
In vivo magnetic resonance spectroscopy provides insight into metabolism in the human body. New acquisition protocols are often proposed to improve the quality or efficiency of data collection. Processing pipelines must also be developed to use these data optimally. Current fitting software is either targeted at general spectroscopy fitting, or for specific protocols. We therefore introduce the MATLAB-based OXford Spectroscopy Analysis (OXSA) toolbox to allow researchers to rapidly develop their own customised processing pipelines. The toolbox aims to simplify development by: being easy to install and use; seamlessly importing Siemens Digital Imaging and Communications in Medicine (DICOM) standard data; allowing visualisation of spectroscopy data; offering a robust fitting routine; flexibly specifying prior knowledge when fitting; and allowing batch processing of spectra. This article demonstrates how each of these criteria have been fulfilled, and gives technical details about the implementation in MATLAB. The code is freely available to download from https://github.com/oxsatoolbox/oxsa.Entities:
Mesh:
Year: 2017 PMID: 28938003 PMCID: PMC5609763 DOI: 10.1371/journal.pone.0185356
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
OXSA data and GUI classes.
| Class name | Use |
|---|---|
| Spectro.dicomTree | Scans directory for DICOM or DICOMDIR files |
| Spectro.dicomUiTree | GUI element for selection of DICOM study/series/instance. |
| Spectro.FileOpenGui | Dialog window showing a Spectro.dicomUiTree together with image preview. |
| Spectro.dicom | Root of the hierarchy. Methods to decode Siemens private DICOM headers. |
| - Spectro.dicomImage | Methods for interpretation and plotting of DICOM images. |
| - Spectro.Spec | Base class for handling of spectroscopy DICOM files. |
| Spectro.PlotCsi | Base class for spectroscopy GUI. |
Fig 1The OXSA Siemens DICOM loading GUI.
A Spectro.FileOpenGui object showing a Spectro.dicomUiTree (left) together with a DICOM image preview (right). The contrast can be adjusted in the top right, and individual pixels can be examined using the data cursor.
Fig 2Spectroscopy visualisation tool.
The red lines mark the nominal voxel size. The selected voxel is highlighted in red. Saturation bands are highlighted in yellow. The sliders on the right hand side can be used to select CSI slice or voxel. The buttons can be used to run various functions to e.g. fit or inspect the data from a single voxel.
Fig 3OXSA fitting flow diagram.
Flow diagram of the functions used for fitting spectroscopy data that has been loaded into MATLAB.
Fig 4amaresPlot output.
The default output figure from amaresPlot showing the fit of the example cardiac 31P data. Individual peaks are truncated in the frequency domain to 2.5× the full width at half maximum for display purposes only, i.e. to allow easier identification of peaks in cases where one peak has a much smaller amplitude than the others.