public class UIDMapByMatchingPixelData extends 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(String[] srcs)
Identify different UIDs of duplicate images by using a hash of pixel data values.
|
Modifier and Type | Method and Description |
---|---|
Collection<List<String>> |
getDuplicateFrameOfReferenceUIDs() |
Collection<List<String>> |
getDuplicateSeriesInstanceUIDs() |
Collection<List<String>> |
getDuplicateSOPInstanceUIDs() |
Collection<List<String>> |
getDuplicateStudyInstanceUIDs() |
static void |
main(String[] arg)
Identify different UIDs of duplicate images by using a hash of pixel data values.
|
String |
toString() |
public UIDMapByMatchingPixelData(String[] srcs) throws IOException, DicomException
Identify different UIDs of duplicate images by using a hash of pixel data values.
srcs
- one or more source folders or DICOMDIRsIOException
DicomException
public Collection<List<String>> getDuplicateFrameOfReferenceUIDs()
public Collection<List<String>> getDuplicateSeriesInstanceUIDs()
public Collection<List<String>> getDuplicateSOPInstanceUIDs()
public Collection<List<String>> getDuplicateStudyInstanceUIDs()
public static void main(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 DICOMDIRs