public class UIDMapByMatchingPixelData
extends java.lang.Object
A class to identify duplicate images based on having the same pixel data hash and constructing collections of their duplicate Study, Series, SOP Instance and Frame of Reference UIDs.
Modifier and Type | Class and Description |
---|---|
protected class |
UIDMapByMatchingPixelData.OurMediaImporter |
Constructor and Description |
---|
UIDMapByMatchingPixelData(java.lang.String[] srcs)
Identify different UIDs of duplicate images by using a hash of pixel data values.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.util.List<java.lang.String>> |
getDuplicateFrameOfReferenceUIDs() |
java.util.Collection<java.util.List<java.lang.String>> |
getDuplicateSeriesInstanceUIDs() |
java.util.Collection<java.util.List<java.lang.String>> |
getDuplicateSOPInstanceUIDs() |
java.util.Collection<java.util.List<java.lang.String>> |
getDuplicateStudyInstanceUIDs() |
static void |
main(java.lang.String[] arg)
Identify different UIDs of duplicate images by using a hash of pixel data values.
|
java.lang.String |
toString() |
public UIDMapByMatchingPixelData(java.lang.String[] srcs) throws java.io.IOException, DicomException
Identify different UIDs of duplicate images by using a hash of pixel data values.
srcs
- one or more source folders or DICOMDIRsjava.io.IOException
DicomException
public java.util.Collection<java.util.List<java.lang.String>> getDuplicateFrameOfReferenceUIDs()
public java.util.Collection<java.util.List<java.lang.String>> getDuplicateSeriesInstanceUIDs()
public java.util.Collection<java.util.List<java.lang.String>> getDuplicateSOPInstanceUIDs()
public java.util.Collection<java.util.List<java.lang.String>> getDuplicateStudyInstanceUIDs()
public static void main(java.lang.String[] arg)
Identify different UIDs of duplicate images by using a hash of pixel data values.
The duplicate UIDs will be listed in the order in which they are encountered, so if one UID is the canonical UID to which the others are to be matched, order the input paths accordingly.
arg
- one or more source folders or DICOMDIRspublic java.lang.String toString()
toString
in class java.lang.Object