com.pixelmed.dicom
Class GeometryOfVolumeFromAttributeList

java.lang.Object
  extended by com.pixelmed.geometry.GeometryOfVolume
      extended by com.pixelmed.dicom.GeometryOfVolumeFromAttributeList

public class GeometryOfVolumeFromAttributeList
extends GeometryOfVolume

A class to extract and describe the spatial geometry of an entire volume of contiguous cross-sectional image slices, given a list of DICOM attributes.


Field Summary
 
Fields inherited from class com.pixelmed.geometry.GeometryOfVolume
frames, isVolume
 
Constructor Summary
GeometryOfVolumeFromAttributeList(AttributeList list)
          Construct the geometry from the Per-frame and Shared Functional Group Sequences of a multi-frame object, or from the Image Plane Module and related attributes, if there is only a single frame of a non-multi-frame object.
 
Method Summary
static double[] getImageOrientationPatientFromAttributeList(AttributeList list)
          Retrieve the ImageOrientationPatient values if the same for all frames or a single frame conventional object.
 
Methods inherited from class com.pixelmed.geometry.GeometryOfVolume
checkAndSetVolumeSampledRegularlyAlongFrameDimension, findClosestSliceInSamePlane, getColumnOrientation, getDistanceAlongNormalFromOrigin, getGeometryOfSlice, getGeometryOfSlices, getNumberOfSlices, getRowOrientation, isVolumeSampledRegularlyAlongFrameDimension, lookupImageCoordinate, lookupImageCoordinate, lookupImageCoordinate, lookupImageCoordinate, lookupImageCoordinate, lookupImageCoordinate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeometryOfVolumeFromAttributeList

public GeometryOfVolumeFromAttributeList(AttributeList list)
                                  throws DicomException

Construct the geometry from the Per-frame and Shared Functional Group Sequences of a multi-frame object, or from the Image Plane Module and related attributes, if there is only a single frame of a non-multi-frame object.

Parameters:
list - the list of DICOM attributes
Throws:
DicomException
Method Detail

getImageOrientationPatientFromAttributeList

public static double[] getImageOrientationPatientFromAttributeList(AttributeList list)

Retrieve the ImageOrientationPatient values if the same for all frames or a single frame conventional object.

Parameters:
list - the top level attribute list for the object
Returns:
a double array of six values, or null if not present or not shared