+FILE(GLOB GDCM_DATA_IMAGES_GLOB
+ "${GDCM_DATA_ROOT}/*.acr"
+ "${GDCM_DATA_ROOT}/*.dcm"
+ "${GDCM_DATA_ROOT}/*.nema"
+ "${GDCM_DATA_ROOT}/*.ima"
+ )
+
+# Black list of images known to break lots of readers (efilm, xmedcon ...):
+SET(BLACK_LIST
+ # Multiframe Papyrus format image
+ # Just to remember this format exists, and is gdcm::File compliant
+ # (NOT gdcm::FileHelper ...)
+ # any contribution is welcome
+ "PET-cardio-Multiframe-Papyrus.dcm"
+ # From David Clunie's Compresion Dataset
+ "D_CLUNIE_CT1_JLSN.dcm"
+ "D_CLUNIE_CT1_JLSL.dcm"
+ #Not a Dicom Image, but a RT Object
+ "RS2.16.124.113534.2.3.5.0.120040728.21342.353.12747_anonimized.dcm"
+ #Dicom MPEG image
+ "ETIAM_video_002.dcm"
+ #Something stupid occured in the code for LibIDO images.
+ #I Black list them for a while. JP
+ "gdcm-ACR-LibIDO.acr"
+ "LIBIDO-24-ACR_NEMA-Rectangle.dcm"
+ #16 Bits per pixel images with LUT 16 Bits.
+ #I wait to be 100% sure before releasing them. JP
+ "rle16sti.dcm"
+ "rle16loo.dcm"
+ # Jasper cannot handle this image, only kakadu so far, unless you patch jasper
+ # but then it breaks other images...
+ "CT_Phillips_JPEG2K_Decompr_Problem.dcm"
+ )
+
+# Create a specific list of dicom files that we know are part of a sequence
+SET(SEQ_LIST
+ "SIEMENS_MAGNETOM-12-MONO2-FileSeq[0-9].dcm"
+ )