Package com.pixelmed.display
Class SourceSpectra
java.lang.Object
com.pixelmed.display.SourceSpectra
A class that encapsulates the features and values from an MR spectroscopy source, usually for the purpose of displaying it.
-
Constructor Summary
ConstructorsConstructorDescriptionSourceSpectra
(AttributeList list) Construct spectra from a single or multi-frame DICOM spectroscopy object from a list of DICOM attributes.Construct spectra from a single or multi-frame DICOM spectroscopy object from an input stream (such as from a file or the network). -
Method Summary
-
Constructor Details
-
SourceSpectra
Construct spectra from a single or multi-frame DICOM spectroscopy object from an input stream (such as from a file or the network).
- Parameters:
i
- the input stream- Throws:
IOException
DicomException
-
SourceSpectra
Construct spectra from a single or multi-frame DICOM spectroscopy object from a list of DICOM attributes.
- Parameters:
list
- the list of attributes that include the description and values of the spectroscopy data- Throws:
DicomException
-
-
Method Details
-
getSpectra
public float[][] getSpectra() -
getTitle
-
getNumberOfFrames
public int getNumberOfFrames() -
getRows
public int getRows() -
getColumns
public int getColumns() -
getDataPointRows
public int getDataPointRows() -
getDataPointColumns
public int getDataPointColumns() -
getMinimum
public float getMinimum() -
getMaximum
public float getMaximum()
-