Package com.pixelmed.dicom
Class SpectroscopyVolumeLocalization
java.lang.Object
com.pixelmed.dicom.SpectroscopyVolumeLocalization
A class to extract and describe the spatial geometry of an MR spectroscopy localization volume, given a list of DICOM attributes.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct the localization volume geometry from the Per-frame and Shared Functional Group Sequences of a multi-frame MR spectroscopy object. -
Method Summary
Modifier and TypeMethodDescriptionfinal double[]
getMidSlabPosition
(int i) Get the mid-slab position.final int
Get the number of localization slabs.final double[]
getSlabOrientation
(int i) Get the localization slab orientation.final double
getSlabThickness
(int i) Get the localization slab thickness.
-
Constructor Details
-
SpectroscopyVolumeLocalization
Construct the localization volume geometry from the Per-frame and Shared Functional Group Sequences of a multi-frame MR spectroscopy object.
- Parameters:
list
- the list of DICOM attributes- Throws:
DicomException
-
-
Method Details
-
getNumberOfSlabs
public final int getNumberOfSlabs()Get the number of localization slabs.
- Returns:
- the number of localization slabs
-
getSlabThickness
public final double getSlabThickness(int i) Get the localization slab thickness.
- Returns:
- localization slab thickness in mm.
-
getSlabOrientation
public final double[] getSlabOrientation(int i) Get the localization slab orientation.
- Returns:
- the direction cosines of a normal vector perpendicular to the selection plane with respect to the patient as X, Y and Z components (LPH+)
-
getMidSlabPosition
public final double[] getMidSlabPosition(int i) Get the mid-slab position.
- Returns:
- the x, y, and z coordinates of the mid-point of the slab in mm
-