public class CrossSectionalImageLibrary extends ImageLibrary
Modifier and Type | Class and Description |
---|---|
static class |
CrossSectionalImageLibrary.CrossSectionalImageLibraryEntry |
ImageLibrary.ImageLibraryEntry
compositeInstanceContext, entriesIndexedBySOPInstanceUID
Constructor and Description |
---|
CrossSectionalImageLibrary() |
CrossSectionalImageLibrary(AttributeList list) |
CrossSectionalImageLibrary(ContentItem imageLibraryContainer,
AttributeList list) |
CrossSectionalImageLibrary(Set<File> files) |
Modifier and Type | Method and Description |
---|---|
double[] |
getColumnArray(String sopInstanceUID) |
String |
getFrameOfReferenceUID(String sopInstanceUID) |
double[] |
getRowArray(String sopInstanceUID) |
double |
getSliceThickness(String sopInstanceUID) |
String |
getSOPClassUID(String sopInstanceUID) |
double[] |
getTLHCArray(String sopInstanceUID) |
double[] |
getVoxelSpacingArray(String sopInstanceUID) |
static void |
main(String[] arg)
Create an SR Image Library from a bunch of cross-sectional DICOM instances.
|
ImageLibrary.ImageLibraryEntry |
makeImageLibraryEntry(AttributeList list) |
ImageLibrary.ImageLibraryEntry |
makeImageLibraryEntry(ContentItemFactory.ImageContentItem imageContentItem,
Map<String,HierarchicalSOPInstanceReference> hierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID) |
static double |
parseDoubleElseZero(String s) |
static CrossSectionalImageLibrary |
read(String filename) |
addContributingEquipmentSequence, addImage, constructImageLibrary, findImageLibraryContainer, getAttributeList, getCommonInstanceReferenceModuleReferencedSeriesSequence, getHierarchicalEvidenceSequence, getHierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID, getStructuredReport, getStructuredReportFragment, toString, write, write
public CrossSectionalImageLibrary()
public CrossSectionalImageLibrary(AttributeList list) throws DicomException
DicomException
public CrossSectionalImageLibrary(ContentItem imageLibraryContainer, AttributeList list)
public CrossSectionalImageLibrary(Set<File> files) throws IOException, DicomException
IOException
DicomException
public double[] getColumnArray(String sopInstanceUID)
public double[] getRowArray(String sopInstanceUID)
public double getSliceThickness(String sopInstanceUID)
public double[] getTLHCArray(String sopInstanceUID)
public double[] getVoxelSpacingArray(String sopInstanceUID)
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).
arg
- the path for the SR Image Library output, then the filenames and/or folder names of files containing the input image filespublic ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(AttributeList list) throws DicomException
makeImageLibraryEntry
in class ImageLibrary
DicomException
public ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(ContentItemFactory.ImageContentItem imageContentItem, Map<String,HierarchicalSOPInstanceReference> hierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID)
makeImageLibraryEntry
in class ImageLibrary
public static final double parseDoubleElseZero(String s)
public static CrossSectionalImageLibrary read(String filename) throws DicomException, IOException
DicomException
IOException