public class SetOfFrameSets extends java.util.HashSet<FrameSet>
A class to describe a set of frame sets, each of which shares common characteristics suitable for display or analysis as an entity.
Constructor and Description |
---|
SetOfFrameSets()
Create an empty new set of
FrameSet s. |
SetOfFrameSets(java.util.Set<java.io.File> files)
Create a new set of
FrameSet s, from a set of DICOM files. |
SetOfFrameSets(java.lang.String[] paths)
Create a new set of
FrameSet s, from a set of DICOM files. |
Modifier and Type | Method and Description |
---|---|
void |
insertIntoFrameSets(AttributeList list)
|
static void |
main(java.lang.String[] arg)
For testing, read all DICOM files and partition them into
FrameSet s. |
java.lang.String |
toString()
Return a String representing this object's value.
|
add, clear, clone, contains, isEmpty, iterator, remove, size, spliterator
addAll, containsAll, retainAll, toArray, toArray
finalize, getClass, notify, notifyAll, wait, wait, wait
public SetOfFrameSets()
Create an empty new set of FrameSet
s.
public SetOfFrameSets(java.util.Set<java.io.File> files)
Create a new set of FrameSet
s, from a set of DICOM files.
Non-DICOM files and problems parsing files are ignored, rather than causing failure
files
- a set of filespublic SetOfFrameSets(java.lang.String[] paths)
Create a new set of FrameSet
s, from a set of DICOM files.
Non-DICOM files and problems parsing files are ignored, rather than causing failure
paths
- a set of paths of filenames and/or folder names of files containing the imagespublic void insertIntoFrameSets(AttributeList list) throws DicomException
Insert a single frame object into the set of existing FrameSet
s,
creating new FrameSet
s as necessary.
Multi-frame, especially enhanced multi-frame, objects are not yet supported,
since one purpose of this is to use FrameSet
s to create or simulate them. In
future, support of creation of FrameSet
s from functional groups, and from frame vectors
(as in NM images esp. RECON TOMO) may be added.
list
- a list of DICOM attributes for an objectDicomException
- if no SOP Instance UIDpublic static void main(java.lang.String[] arg)
For testing, read all DICOM files and partition them into FrameSet
s.
arg
- the filenames and/or folder names of files containing the imagespublic java.lang.String toString()
Return a String representing this object's value.
toString
in class java.util.AbstractCollection<FrameSet>