com.pixelmed.dicom
Class CrossSectionalImageLibrary
java.lang.Object
com.pixelmed.dicom.ImageLibrary
com.pixelmed.dicom.CrossSectionalImageLibrary
public class CrossSectionalImageLibrary
- extends ImageLibrary
| Methods inherited from class com.pixelmed.dicom.ImageLibrary |
addImage, constructImageLibrary, findImageLibraryContainer, getAttributeList, getCommonInstanceReferenceModuleReferencedSeriesSequence, getHierarchicalEvidenceSequence, getHierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID, getStructuredReport, getStructuredReportFragment, toString, write |
CrossSectionalImageLibrary
public CrossSectionalImageLibrary()
CrossSectionalImageLibrary
public CrossSectionalImageLibrary(AttributeList list)
throws DicomException
- Throws:
DicomException
CrossSectionalImageLibrary
public CrossSectionalImageLibrary(ContentItem imageLibraryContainer,
AttributeList list)
CrossSectionalImageLibrary
public CrossSectionalImageLibrary(Set<File> files)
throws IOException,
DicomException
- Throws:
IOException
DicomException
makeImageLibraryEntry
public ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(ContentItemFactory.ImageContentItem imageContentItem,
Map<String,HierarchicalSOPInstanceReference> hierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID)
- Overrides:
makeImageLibraryEntry in class ImageLibrary
makeImageLibraryEntry
public ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(AttributeList list)
throws DicomException
- Overrides:
makeImageLibraryEntry in class ImageLibrary
- Throws:
DicomException
getFrameOfReferenceUID
public String getFrameOfReferenceUID(String sopInstanceUID)
getVoxelSpacingArray
public double[] getVoxelSpacingArray(String sopInstanceUID)
getTLHCArray
public double[] getTLHCArray(String sopInstanceUID)
getRowArray
public double[] getRowArray(String sopInstanceUID)
getColumnArray
public double[] getColumnArray(String sopInstanceUID)
getSliceThickness
public double getSliceThickness(String sopInstanceUID)
parseDoubleElseZero
public static final double parseDoubleElseZero(String s)
read
public static CrossSectionalImageLibrary read(String filename)
throws DicomException,
IOException
- Throws:
DicomException
IOException
main
public static void main(String[] arg)
Create an SR Image Library from a bunch of cross-sectional DICOM instances.
Adds a new series (instance UID) to the existing study (instance UID).
- Parameters:
arg - the path for the SR Image Library output, then the filenames and/or folder names of files containing the input image files