public class ImageLibrary extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageLibrary.ImageLibraryEntry |
| Modifier and Type | Field and Description |
|---|---|
protected CompositeInstanceContext |
compositeInstanceContext |
protected Map<String,ImageLibrary.ImageLibraryEntry> |
entriesIndexedBySOPInstanceUID |
| Constructor and Description |
|---|
ImageLibrary() |
ImageLibrary(AttributeList list) |
ImageLibrary(ContentItem imageLibraryContainer,
AttributeList list) |
ImageLibrary(Set<File> files) |
protected Map<String,ImageLibrary.ImageLibraryEntry> entriesIndexedBySOPInstanceUID
protected CompositeInstanceContext compositeInstanceContext
public ImageLibrary()
public ImageLibrary(AttributeList list) throws DicomException
DicomExceptionpublic ImageLibrary(ContentItem imageLibraryContainer, AttributeList list)
public ImageLibrary(Set<File> files) throws IOException, DicomException
IOExceptionDicomExceptionpublic ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(ContentItemFactory.ImageContentItem imageContentItem, Map<String,HierarchicalSOPInstanceReference> hierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID)
public ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(AttributeList list) throws DicomException
DicomExceptionpublic SequenceAttribute getCommonInstanceReferenceModuleReferencedSeriesSequence(String studyInstanceUID) throws DicomException
DicomExceptionpublic SequenceAttribute getHierarchicalEvidenceSequence() throws DicomException
DicomExceptionpublic static ContentItem findImageLibraryContainer(ContentItem node)
protected Map<String,HierarchicalSOPInstanceReference> getHierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID(AttributeList list)
protected void constructImageLibrary(ContentItem imageLibraryContainer, AttributeList list)
public ContentItem getStructuredReportFragment(ContentItem root) throws DicomException
DicomExceptionpublic StructuredReport getStructuredReport() throws DicomException
DicomExceptionpublic AttributeList getAttributeList() throws DicomException
DicomExceptionpublic void write(String filename) throws DicomException, IOException
DicomExceptionIOExceptionpublic static ImageLibrary read(String filename) throws DicomException, IOException
DicomExceptionIOExceptionpublic ImageLibrary.ImageLibraryEntry addImage(AttributeList list) throws DicomException
DicomExceptionpublic static void main(String[] arg)
Create an SR Image Library from a bunch of DICOM image 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 files