+ # - Particularities:
+ # * old (circa 1991) ACR NEMA version 1.0 format.
+ # * apparently broken pixel data (see below)
+ # * "Pixel Representation" tag (0028|0103) is absent
+ # * "Photometric Interpretation" tag is absent
+ # * wierd padding of "Manufacturer's Model Name" tag
+ # * Group 20 does NOT contain:
+ # - "Study"
+ # - "Serie Instance UID"
+ # Within this group, the following entries are empty:
+ # - "Study"
+ # - "Series Number"
+ #
+ # - This image pixel data looks corrupted, in the sense that the
+ # following sizes do NOT match (as expected):
+ # * it's pixel data is 132096 bytes long
+ # * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
+ # of 256*256*2 = 131072 bytes.
+ # - Because of this missmatch, TestReadWriteReadCompare segfaults
+ # on this image.
+ # In details, when segfault occurs we have the following call stack:
+ # gdcmFile::GetImageData()
+ # PixelData = new uint8_t[ImageDataSize];
+ # \--->::GetImageDataIntoVector(destination, ImageDataSize)
+ # \---> ::ReadPixelData(destination)
+ # \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
+ # which causes the segfault because :
+ # - destination is ImageDataSize i.e. 131072 bytes long
+ # - Header->GetPixelAreaLength() = 132096 bytes long
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "GBS III " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "gdcm::Unfound" # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:8192 x(2000) Lgt:132096 x(20400)"
+]
+
+############################################################
+### ACR NEMA version 2.0 (TWO!) format:
+############################################################
+[ gdcm-MR-SIEMENS-16-2.acr
+ # - Particularities:
+ # * old (circa 2000) ACR NEMA version 2.0 format.
+ # * wierd padding of "Series Number" tag
+ # (ALL the -numerous- private fields are considered as 'BinEntries'
+ # very few of them actually are :-(
+ # groups 9, 11, 19, 21, 29, 51
+ # --> TODO : find a trick to guess (contains non printable characters ?)
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "gdcm::Unfound" # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
+ 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET)
+ 0008|0060 "MR" # Modality
+ 0020|0011 " 7" # Series Number
+ 7fe0|0010 "gdcm::NotLoaded Ad.:6052 x(17a4) Lgt:524288 x(80000)"
+]
+
+[ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm
+ # - Particularities:
+ # * "Modern" ACR NEMA version 2.0 format i.e. the 0x0020 group contains
+ # "Study Instance UID", "Study ID", "Series Number" and
+ # "Serie Instance UID"
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "gdcm::Unfound" # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
+ 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET)
+ 0008|0060 "MR" # Modality
+ 0020|000d "1.3.12.2.1107.5.2.4.7630.20000918174641000" # Study Instance UID
+ 0020|000e "1.3.12.2.1107.5.2.4.7630.20000918175714000007 " # Series Instance
+ # UID
+ 0020|0011 " 7" # Series Number
+ 0020|0010 " 1" # Study ID
+ 7fe0|0010 "gdcm::NotLoaded Ad.:6052 x(17a4) Lgt:524288 x(80000)"
+]
+
+[ TOSHIBA_MRT150-16-MONO2-ACR_NEMA_2.dcm
+ # - Particularities:
+ # * ACR NEMA version 2.0 (circa 1994) format allthough the
+ # "Recognition Code" is absent.
+ # * all the groups are missing their "Group Length" tag i.e. no
+ # tag of the form (*, 0x0000) present.
+ 0008|0070 "Toshiba " # Manufacturer
+ 0008|1090 "MRT150" # Manufacturer's Model Name
+ 0028|0101 "16" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "15" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
+ 0008|0010 "gdcm::Unfound" # Recognition Code (RET)
+ 0008|0060 "MR" # Modality
+ 0020|0011 "7 " # Series Number
+ 0020|0010 "Run264.6653 " # Study ID
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1130 x(46a) Lgt:524288 x(80000)"
+]
+
+[ FUJI-10-MONO1-ACR_NEMA_2.dcm
+ # - Particularities:
+ # * ACR NEMA version 2.0 (circa 1995) format allthough the
+ # "Recognition Code" is absent.
+ # * large 1670x2010 image
+ 0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
+ 0008|1090 "CR201 " # Manufacturer's Model Name
+ 0028|0101 "10" # Bits Stored
+ 0028|0004 "MONOCHROME1 " # Photometric Interpretation
+ 0028|0010 "2010" # Rows
+ 0028|0011 "1670" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "9" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "gdcm::Unfound" # Transfer Syntax UID
+ 0008|0010 "gdcm::Unfound" # Recognition Code (RET)
+ 0008|0060 "CR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:862 x(35e) Lgt:6713400 x(667038)"
+]
+
+#############################################################################
+### Images with various oddities...
+#############################################################################
+[ gdcm-US-ALOKA-16.dcm
+ # - Particularities:
+ # * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a
+ # Red and Blue. Note: segmented palette color not taken into account
+ # by gdcm (FIXME).
+ # * Both Red and Green componant of the Segmented palette color are
+ # bigger than 256 * 256 = 65536. How can one interpret such
+ # a LUT ?
+ # * announced as implicit VR, but really explicit VR !
+ # * has a color palette (see Photometric Interpretation)
+ # * neither e-film nor DicomWorks deals with the color segmented palette
+ # color properly. Xmedcon breaks on this image.
+ # * Note: on disk this image has a size of 873140 bytes. But
+ # one could expect that
+ # Rows * Columns * #Palette * 16 bits/2 = 1843200 bytes
+ # would be necessary. What is wrong ?
+ 0008|0070 "ALOKA CO., LTD. " # Manufacturer
+ 0008|1090 "SSD-4000" # Manufacturer's Model Name
+ 0028|0101 "16" # Bits Stored
+ 0028|0004 "PALETTE COLOR " # Photometric Interpretation
+ 0028|0010 "480" # Rows
+ 0028|0011 "640" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "15" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE)
+ 0008|0060 "US" # Modality
+ # The Segmented Palette Color Lookup Table Data:
+ # Red
+ 0028|1221 "gdcm::NotLoaded Ad.:1750 x(6d6) Lgt:87818 x(1570a)"
+ # Green
+ 0028|1222 "gdcm::NotLoaded Ad.:89576 x(15de8) Lgt:113784 x(1bc78)"
+ # Blue
+ 0028|1223 "gdcm::NotLoaded Ad.:203368 x(31a68) Lgt:55364 x(d844)"
+ #
+ 7fe0|0010 "gdcm::NotLoaded Ad.:258740 x(3f2b4) Lgt:614400 x(96000)"
+]
+
+[ gdcm-MR-PHILIPS-16-Multi-Seq.dcm
+ # - Particularities:
+ # * dicom file, with a recognition code of ACR-NEMA1
+ # * Highly nested sequence (6 sublevels) with an impressive size
+ # of 28808 bytes at tag (0x0029, 0x263d)
+ # * some sequences have 0 (zero) length
+ # * possesses many sequences in group 0x0029
+ # * Private BinEntry (DT) 21 1007
+ 0008|0070 "Philips Medical Systems " # Manufacturer
+ 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "128" # Rows
+ 0028|0011 "128" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
+ 0008|0060 "MR" # Modality
+ 0008|0010 "ACR-NEMA 1.0" # Recognition Code (RET)
+ 7fe0|0010 "gdcm::NotLoaded Ad.:35846 x(8c06) Lgt:32768 x(8000)"
+]
+
+[ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm
+ # - Particularities:
+ # * probably generated with dcmtk (DICOM Toolkit, refer to
+ # http://dicom.offis.de/dcmtk.php.en)
+ # * Misses the "Samples Per Pixel" element which prevents
+ # e-film from reading it.
+ # * Misses both the "Manufacturer" and the "Manufacturer's Model Name"
+ 0008|0070 "gdcm::Unfound" # Manufacturer
+ 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
+ 0028|0101 "8" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "750" # Rows
+ 0028|0011 "750" # Columns
+ 0028|0100 "8" # Bits Allocated
+ 0028|0102 "7" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
+ 0008|0060 "CR" # Modality
+ 0002|0013 "OFFIS_DCMTK_341 " # Implementation Version Name
+ 0028|0002 "gdcm::Unfound" # Samples per Pixel
+ 7fe0|0010 "gdcm::NotLoaded Ad.:740 x(2e4) Lgt:562500 x(89544)"
+]
+
+[ gdcm-MR-PHILIPS-16-NonRectPix.dcm
+ # - Particularities:
+ # * Non rectangular pixels (see "Pixel Spacing" tag)
+ # * private tags are in explicit VR (which is normal BTW)
+ # * has FD fields at tags 0029|218b, and 0029|218d
+ # * many (roughly 20) sequences, among which:
+ # - a couple ones with 0 (zero) length, e.g. at tags 0029|2008,
+ # 0029|201e, or 0029|204c/0#0029|28e0.
+ # - nested sub-sequences.
+ # * screen-flaher non printable characters in private elements (see
+ # file ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm).
+ 0008|0070 "Philips Medical Systems " # Manufacturer
+ 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "64" # Rows
+ 0028|0011 "160" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
+ 0008|0060 "MR" # Modality
+ 0028|0030 " 0.487416\0.194966" # Pixel Spacing
+ 7fe0|0010 "gdcm::NotLoaded Ad.:5010 x(1392) Lgt:20480 x(5000)"
+]
+
+[ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm
+ # - Particularities:
+ # * contains a tag with value multiplicity bigger than 1: the
+ # tag (0x0018, 0x1310) has "US" as value representation BUT
+ # has a size of 8 bytes (i.e. it contains FOUR short integers)
+ # * contains a "Referenced Image Sequence" at tag 0008|1140
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "Sonata" # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "208" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
+ 0008|0060 "MR" # Modality
+ 0018|1310 "256\0\0\166" # Acquisition Matrix
+ 7fe0|0010 "gdcm::NotLoaded Ad.:25686 x(6456) Lgt:106496 x(1a000)"
+]
+
+[ SIEMENS_MAGNETOM-12-MONO2-Uncompressed.dcm
+ # - Particularities:
+ # * transited by a Siemens LEONARDO console, which produced a
+ # buggy headered images
+ # JPR FIX: can you confirm that, and tell in which way the header is
+ # got corrupted ?
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "MAGNETOM VISION " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR,
+ # Little Endian
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:5160 x(1428) Lgt:524288 x(80000)"
+]
+
+[ PICKER-16-MONO2-No_DicomV3_Preamble.dcm
+ # - Particularities:
+ # * looks like a DICOM V3 image but it misses the proper file
+ # file preamble (of 200 bytes).
+ 0008|0070 "Picker International, Inc." # Manufacturer
+ 0008|1090 "HF1006" # Manufacturer's Model Name
+ 0028|0101 "16" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "15" # High Bit
+ 0028|0103 "1" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1406 x(57e) Lgt:524288 x(80000)"
+]
+
+[ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm
+ # - Particularities:
+ # * Contains a "Referenced Image Sequence" at tag 0008|1140.
+ 0008|0070 "Philips Medical Systems " # Manufacturer
+ 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
+ 0028|0101 "8" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "7" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:6584 x(19b8) Lgt:131072 x(20000)"
+]
+
+[ PICKER-16-MONO2-Nested_icon.dcm
+ # - Particularities:
+ # * contains TWO images:
+ # - the original image 512x512 at tag 7fe0|0010,
+ # - an 8x8 icon hidden in a "Icon Image Sequence" (at tag 0088|0200)
+ # within Item number 0, and within the usual tag 7fe0|0010
+ # (the full tag of this icon is hence 0088|0200/0#7fe0|0010)
+ # This implies this image contains two 7fe0|0010 (among which one is
+ # burried in a sequence), two "Rows" entries, two "Columns" entries...
+ # This makes it impossible to use the name of tag (e.g. Rows) as
+ # as a key of dictionaries build on top of such an image....
+ # * contains a "Source Image Sequence" with 0xffff length at 0008|2112
+ # with 130 useless (dummy) items,
+ # * sequence at 0088|0200, with length 0xffff, is terminated with both:
+ # - an "Item Delimitation Item" (i.e. a tag fffe|e00d)
+ # - a "Sequence Delimitation Item" (i.e. a tag fffe|e0dd).
+ 0008|0070 "PICKER" # Manufacturer
+ 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
+ 0008|0060 "CT" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:18228 x(4734) Lgt:524288 x(80000)"
+]
+
+[ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
+ # - Particularities:
+ # * within the "Modality LUT Sequence" at tag 0028|3000 we encounter
+ # an "Item Delimitation" fffe|e00d followed by a
+ # "Sequence Delimitation Item" fffe|e0dd just after the tag 0028|3006
+ # * looks like an ACR-NEMA V2 [allthough no "Recognition Code"
+ # (0x0008, 0x0010) is present].
+ 0008|0070 "Kodak " # Manufacturer
+ 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME1 " # Photometric Interpretation
+ 0028|0010 "2392" # Rows
+ 0028|0011 "1792" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "gdcm::Unfound" # Transfer Syntax: Implicit VR, LE
+ 0008|0060 "CR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:9134 x(23ae) Lgt:8572928 x(82d000)"
+]
+
+[ SIEMENS_SOMATOM-12-ACR_NEMA-ZeroLengthUs.acr
+ # - Particularities:
+ # * Has a 'Zero length' integer field at tag 0020|5000 with VR "US"
+ # [US][Original Image Identification (RET)]
+ # * Has a lot of private fields, with no VR, see groups 9, 11, 19, 21,
+ # 29, 31
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "SOMATOM PLUS 4 " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0008|0060 "CT" # Modality
+ 0009|0010 "gdcm::Binary data loaded" # Unknown
+ 7fe0|0010 "gdcm::NotLoaded Ad.:5064 x(13c8) Lgt:524288 x(80000)"
+]
+
+[ ACUSON-8-YBR_FULL-JPEG-TrailingInfo.dcm
+ # - Particularities:
+ # * has some trailing (after the pixel data) info with tag fffc|fffc,
+ # VR of "OB", length = 1722 = 0x6ba
+ # * contains a "Sequence of Ultrasound Regions" at tag 0018|6011
+ 0008|0070 "ACUSON" # Manufacturer
+ 0028|0101 "8" # Bits Stored
+ 0028|0004 "YBR_FULL_422" # Photometric Interpretation
+ 0028|0010 "576" # Rows
+ 0028|0011 "768" # Columns
+ 0028|0100 "8" # Bits Allocated
+ 0028|0102 "7" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.50" # Transfer Syntax: jpeg baseline
+ # process (1)
+ 0008|0060 "US" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:2288 x(8f0) Lgt:1513128 x(1716a8)"
+ fffc|fffc "gdcm::Binary data loaded" # Trailing info !
+]
+
+[ GE_GENESIS-16-MONO2-WrongLengthItem.dcm
+ # - Particularities:
+ # * Sample of well known GE buggy header: wrong length for some items
+ 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
+ 0008|1090 "GENESIS_SIGNA " # Manufacturer's Model Name
+ 0028|0101 "16" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "15" # High Bit
+ 0028|0103 "1" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR, LE
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1930 x(78a) Lgt:131072 x(20000)"
+]
+
+[ MARCONI_MxTWin-12-MONO2-JpegLossless-ZeroLengthSQ.dcm
+ # - Particularities:
+ # * jpeg compression (Process 14 [Selection Value 1])
+ # * "Icon Image Sequence" at tag 0088|0200 has 0 (zero) length
+ 0008|0070 "Marconi " # Manufacturer
+ 0008|1090 "MxTwin" # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless,
+ # ... Process 14 [Selection Value 1]
+ 0008|0060 "CT" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1916 x(77c) Lgt:116517 x(1c725)"
+]
+
+[ THERALYS-12-MONO2-Uncompressed-Even_Length_Tag.dcm
+ # - Particularities:
+ # * both tag 0008|0070 ("Manufacturer") and tag 0008|0080
+ # "Institution Name" have an even length of 13 bytes.
+ # * contains a "Referenced Image Sequence" of 0 (zero) length at
+ # tag 0008|1140
+ 0008|0070 "Theralys S.A." # Manufacturer
+ 0008|1090 "vtkToDicomWriter" # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR,
+ # Little Endian
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1839 x(72f) Lgt:131072 x(20000)"
+]
+
+[ THERALYS-12-MONO2-Uncompressed-E_Film_Template.dcm
+ # - Particularities:
+ # * empty image usable as a template to produce efilm readable images
+ # with the strictly minimum tag set.
+ # * Given by Theralys
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax: Implicit VR,
+ # Little Endian
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1250 x(4e2) Lgt:131072 x(20000)"
+]
+
+[ GE_GENESIS-16-MONO2-Uncompressed-UnusualVR.dcm
+ # - Particularities:
+ # * Many private entries have (perfectly "legal") unusual Value
+ # Representation (that gdcm interprets a gdcmBinEntries).
+ # - VR = FL : 0019|105a, 0027|1041...0027|1049, 0027|104a...0027|104d,
+ # 0027|1060 ... 0027|1062, 0043|1033, 0043|1038
+ # - VR = DT : 0019|109d
+ # - VR = FD : 0023|1070
+ # - VR = OB : 0043|1028, 0043|1029, 0043|102a
+ 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer
+ 0008|1090 "GENESIS_SIGNA " # Manufacturer's Model Name
+ 0028|0101 "16" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "15" # High Bit
+ 0028|0103 "1" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.1 " # Transfer Syntax: Explicit VR, LE
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:9666 x(25c2) Lgt:131072 x(20000)"
+]
+
+############################################################
+### Sequence related images.
+############################################################
+[ SIEMENS_Sonata-12-MONO2-SQ.dcm
+ # - Particularities:
+ # * contains a "Referenced Performed Procedure Step Sequence" at
+ # tag 0008|1111,
+ # * contains a "Referenced Image Sequence" at tag 0008|1140
+ # has a size of 8 bytes (i.e. it contains FOUR short integers)
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "Sonata" # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "192" # Rows
+ 0028|0011 "192" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE
+ 0008|0060 "MR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:51804 x(ca5c) Lgt:73728 x(12000)"
+]
+
+[ ALOKA_SSD-8-MONO2-RLE-SQ.dcm
+ # - Particularities:
+ # * contains a "Sequence of Ultrasound Regions " at tag 0018|6011
+ 0008|0070 "ALOKA CO., LTD. " # Manufacturer
+ 0008|1090 "SSD-5000" # Manufacturer's Model Name
+ 0028|0101 "8" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "420" # Rows
+ 0028|0011 "608" # Columns
+ 0028|0100 "8" # Bits Allocated
+ 0028|0102 "7" # High Bit
+ 0002|0010 "1.2.840.10008.1.2.5" # RLE Lossless
+ 0008|0060 "US" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:1398 x(576) Lgt:128088 x(1f458)"
+]
+
+############################################################
+### Jpeg compressed images.
+############################################################
+[ gdcm-JPEG-Extended.dcm
+ # - Particularities:
+ # * contains a "Referenced Image Sequence" of length 0xffff at
+ # tag 0008|1140,
+ # * contains a "Source Image Sequence" of length 0xffff at
+ # tag 0008|2112,
+ # * jpeg compression [Extended Process (2,4)]
+ # * probably contains additional data after the pixels (see comments
+ # of the gdcm-JPEG-LossLess3a.dcm entry)
+ # * contains OB private fields at tags 0019|10b0, 0021|1011, 0029|1008,
+ # 0029|1009, 0029|1010, 0029|1131, 0029|1134.
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "Volume Zoom " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
+ # process (2,4)
+ 0008|0060 "CT" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:2946 x(b82) Lgt:192218 x(2eeda)"
+]
+
+[ gdcm-JPEG-Extended-Allready_present.dcm
+ # JPR FIXME: this image is REALLY close to gdcm-JPEG-Extended.dcm in
+ # terms of features (actually I suspect gdcm-JPEG-Extended.dcm
+ # is the anonymized version of this one)...
+ # - Particularities:
+ # * jpeg compression [Extended Process (2,4)]
+ # * private BinEntry (OB) in 19 10b0, 21 1011, 29 1008, 29 1009, 29 1010,
+ # 29 1131, 29 1134
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "Volume Zoom " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
+ # process (2,4)
+ 0008|0060 "CT" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:2946 x(b82) Lgt:192218 x(2eeda)"
+]
+
+[ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm
+ # - Particularities:
+ # * jpeg compression [Extended Process (2,4)]
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "Volume Zoom " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
+ # process (2,4)
+ 0008|0060 "CT" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:3044 x(be4) Lgt:66978 x(105a2)"
+]
+
+[ gdcm-JPEG-LossLess3a.dcm
+ # - Particularities:
+ # * jpeg compression [Lossless, hierar., first-order prediction
+ # (Process 14, Selection Value 1) ]
+ # * contains additional data after the pixels (see below)
+ # * contains a "Source Image Sequence" tag at 0008|2112
+ 0008|0070 "SIEMENS " # Manufacturer
+ 0008|1090 "Volume Zoom " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless,
+ # ... Process 14 [Selection Value 1]
+ 0008|0060 "CT" # Modality
+ # It looks like the pixel data are corrupted:
+ # As stated by "od -A d -c"
+ # 0002528 à 177 020 \0 O B \0 \0 ÿ ÿ ÿ ÿ þ ÿ \0 à
+ # 0002544 \0 \0 \0 \0 þ ÿ \0 à 202 ? 003 \0 ÿ Ø ÿ Ã
+ # which we interpret as follows:
+ # - 2528: (à 177, 020 \0) = (0x7fe0, 0x0010) i.e. Pixel Data tag,
+ # - 2532: OB i.e. encapsulated encoded Pixel Data,
+ # - 2534: Two bytes reserved,
+ # - 2536: ÿ ÿ ÿ ÿ = 0xffffffff i.e. data element length is undefined.
+ # - 2540: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. basic offset table
+ # item tag
+ # - 2544: \0 \0 \0 \0 i.e. offset table as length zero, i.e. no
+ # item value for offset table.
+ # - 2548: (þ ÿ, \0 à) = (0xfffe, 0xe000) i.e. item tag of first
+ # fragment of (encoded) pixel data.
+ # - 2552: 202 ? 003 \0 = 212866 bytes i.e. length of first fragment
+ # of (encoded) pixel data.
+ # and so the next item tag should be found at the 2556+212866 th
+ # octet i.e. at address 215422. But, as stated by od, we find:
+ # 0215408 E u Ö 026 Î É 7 ¬ Ã ¸ ó ¿ ÿ Ù \f °
+ # 0215424 ¶ 016 P Ñ 002 016
+ # and (\f °, ¶ 016) is NOT an OB item TAG which is required to be
+ # present (at least there should be a sequence delimiter), refer to
+ # PS 3.5-2001 page 50.
+ #
+ # As stated by JPR in hexa:
+ # at 9ec : ItemTag : fffe,e000
+ # at 9f0 : Basic Offset Table Item Lentgh (??) 0 x(00000000)
+ # at 9f4 : ItemTag : fffe,e000
+ # at 9f8 : fragment length 212866 x(00033f82)
+ # at 3497e : ItemTag b00c,0eb6 (should be fffe,e000 or fffe,e0dd):
+ 7fe0|0010 "gdcm::NotLoaded Ad.:2540 x(9ec) Lgt:212890 x(33f9a)"
+]
+
+[ gdcm-JPEG-LossLessThoravision.dcm
+ # - Particularities:
+ # * jpeg compression [Lossless, hierar., first-order prediction
+ # (Process 14, Selection Value 1) ]
+ # * encoding is sligthly different from the one of entry
+ # gdcm-JPEG-LossLess3a.dcm (to check).
+ # * Large picture: 2076 by 1876 (I wonder what screens they have...)
+ # -> Just underscale it !
+ # Breaks all the DICOM viewers
+ 0008|0070 "Philips Medical Systems " # Manufacturer
+ 0008|1090 "Cassette Holder Type 9840 500 35201 " # Manufacturer's Model Name
+ 0028|0101 "15" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "2076" # Rows
+ 0028|0011 "1876" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "14" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless,
+ # ... Process 14 [Selection Value 1]
+ 0008|0060 "CR" # Modality
+ 7fe0|0010 "gdcm::NotLoaded Ad.:3144 x(c48) Lgt:4795668 x(492d14)"
+]
+
+[ PHILIPS_Gyroscan-12-Jpeg_Extended_Process_2_4.dcm
+ # - Particularities:
+ # * jpeg compression [Extended Process (2,4)]
+ # * Allthough it is a DICOM V3 image, the "Recognition Code" tag
+ # announces it as "ACR-NEMA 1.0" !
+ 0008|0070 "Philips Medical Systems " # Manufacturer
+ 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "512" # Rows
+ 0028|0011 "512" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.51" # Transfer Syntax: jpeg extended
+ # process (2,4)
+ 0008|0060 "MR" # Modality
+ 0008|0010 "ACR-NEMA 1.0" # Recognition Code (RET)
+ 7fe0|0010 "gdcm::NotLoaded Ad.:5956 x(1744) Lgt:46602 x(b60a)"
+]
+
+[ PHILIPS_Gyroscan-12-MONO2-Jpeg_Lossless.dcm
+ # - Particularities:
+ # * jpeg lossless, Non-Hierarchical, First-Order Prediction,
+ # compression [Process 14 (Selection Value 1)]
+ # * many (roughly 8) sequences, among which:
+ # - one with 0 (zero) length at tag 0029|204c/0#0029|28e0
+ # - many with length 0xffff
+ 0008|0070 "Philips Medical Systems " # Manufacturer
+ 0008|1090 "Gyroscan Intera " # Manufacturer's Model Name
+ 0028|0101 "12" # Bits Stored
+ 0028|0004 "MONOCHROME2 " # Photometric Interpretation
+ 0028|0010 "256" # Rows
+ 0028|0011 "256" # Columns
+ 0028|0100 "16" # Bits Allocated
+ 0028|0102 "11" # High Bit
+ 0028|0103 "0" # Pixel Representation
+ 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless,
+ # ... Process 14 [Selection Value 1]
+ 0008|0060 "MR" # Modality
+ 0008|0010 "ACR-NEMA 1.0" # Recognition Code (RET)
+ # 7fe0|0010 Not present.