public class ImageLibrary
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageLibrary.ImageLibraryEntry |
| Modifier and Type | Field and Description |
|---|---|
protected CompositeInstanceContext |
compositeInstanceContext |
protected java.util.Map<java.lang.String,ImageLibrary.ImageLibraryEntry> |
entriesIndexedBySOPInstanceUID |
| Constructor and Description |
|---|
ImageLibrary() |
ImageLibrary(AttributeList list) |
ImageLibrary(ContentItem imageLibraryContainer,
AttributeList list) |
ImageLibrary(java.util.Set<java.io.File> files) |
protected java.util.Map<java.lang.String,ImageLibrary.ImageLibraryEntry> entriesIndexedBySOPInstanceUID
protected CompositeInstanceContext compositeInstanceContext
public ImageLibrary()
public ImageLibrary(AttributeList list) throws DicomException
DicomExceptionpublic ImageLibrary(ContentItem imageLibraryContainer, AttributeList list)
public ImageLibrary(java.util.Set<java.io.File> files)
throws java.io.IOException,
DicomException
java.io.IOExceptionDicomExceptionpublic ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(ContentItemFactory.ImageContentItem imageContentItem, java.util.Map<java.lang.String,HierarchicalSOPInstanceReference> hierarchicalSOPInstanceReferencesIndexedBySOPInstanceUID)
public ImageLibrary.ImageLibraryEntry makeImageLibraryEntry(AttributeList list) throws DicomException
DicomExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic SequenceAttribute getCommonInstanceReferenceModuleReferencedSeriesSequence(java.lang.String studyInstanceUID) throws DicomException
DicomExceptionpublic SequenceAttribute getHierarchicalEvidenceSequence() throws DicomException
DicomExceptionpublic static ContentItem findImageLibraryContainer(ContentItem node)
protected java.util.Map<java.lang.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(java.lang.String filename)
throws DicomException,
java.io.IOException
DicomExceptionjava.io.IOExceptionpublic static ImageLibrary read(java.lang.String filename) throws DicomException, java.io.IOException
DicomExceptionjava.io.IOExceptionpublic ImageLibrary.ImageLibraryEntry addImage(AttributeList list) throws DicomException
DicomExceptionpublic static void main(java.lang.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