Class SpectroscopyVolumeLocalization

java.lang.Object
com.pixelmed.dicom.SpectroscopyVolumeLocalization

public class SpectroscopyVolumeLocalization extends Object

A class to extract and describe the spatial geometry of an MR spectroscopy localization volume, given a list of DICOM attributes.

  • Constructor Details

    • SpectroscopyVolumeLocalization

      public SpectroscopyVolumeLocalization(AttributeList list) throws DicomException

      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