X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=TestAllEntryVerifyReference.txt;h=820d065ff122282fc4f3b1cb2e4ccbace2ca774b;hb=6657b9b6ecb611e42464c4893b686f8b3209ca45;hp=5fbee26d34977c64bb02ecb228abf7e45c23bace;hpb=be6c91f5d8d432f99be39220e4db796576cb8201;p=gdcmData.git diff --git a/TestAllEntryVerifyReference.txt b/TestAllEntryVerifyReference.txt index 5fbee26..820d065 100644 --- a/TestAllEntryVerifyReference.txt +++ b/TestAllEntryVerifyReference.txt @@ -12,7 +12,7 @@ # as a string. For binary entries [like the Pixels (the tag is 7fe0|0010 # usually)], which don't have a string representation, we use the # string constructed by gdcm e.g. -# "gdcm::NotLoaded (BinEntry) Address:776 Length:387200 x(5e880)". +# "gdcm::NotLoaded Address:776 Length :387200 x(5e880)". # Format: # - Each image shall be contained in a block delimited by [ and ] # (square brackets). Nested blocks are an error. @@ -30,7 +30,7 @@ # # some nice comments and problems of filename.dcm # 0008|0060 "CR" # Modality # 0008|1090 "9000" # Manufacturer's model name -# 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:776 Length:387200 x(5e880)" +# 7fe0|0010 "gdcm::NotLoaded Address: 776 Length:387200 x(5e880)" # ] # This info shall be discarded (and has no comment which is lack of taste) # @@ -43,7 +43,7 @@ # # File naming conventions: # the general form shall be (unpresent or meaningfull field are optional) -# [Manufacturer]-[BytesPerPixel]-[PhotoInterpretation]-[SQ]-[Description].EXT +# [Manufacturer]-[BytesPerPixel]-[PhotoInterpretation]-[SQ]-[FileSeq]-[Description].EXT # where : # - [Manufacturer] represents at best the aquisition device. It can # can be a blend of the "Manufacturer" and "Manufacturer's Model Name" @@ -55,6 +55,10 @@ # PAL (for "PALETTE COLOR"), RGB, YBR (for YBR_FULL), # YBR422 (for YBR_FULL_4220, MONO2 (for MONOCHROME2)... # - [SQ] when present indicates that the image contains a sequence. +# - [FileSeq] when this file and others with the same other information +# can be used in a sequence of images (for 3D images or animated images. +# In this case, we must set FileSeq and the image id. The id must begin to 0 +# and increase with a step of 1 # - [Description] shall be a concise description of the features # specificities of the image (e.g. ACR_NEMA_1 to indicate it is an # old ACR Nema version 1 file format). @@ -79,6 +83,8 @@ [ CR-MONO1-10-chest.dcm # - Particularities: # * "Transfer Syntax UID" is absent. + # Warning : MONOCHROME1 -> *should be* displayed as video inv + # (nobody seems to care about it ...) 0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer 0008|1090 "9000" # Manufacturer's Model Name 0028|0101 "10" # Bits Stored @@ -90,7 +96,7 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax UID 0008|0060 "CR" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:776 Length:387200 x(5e880)" + 7fe0|0010 "gdcm::NotLoaded Ad.:776 x(308) Lgt:387200 x(5e880)" ] ############################################################ @@ -109,7 +115,7 @@ 0028|0103 "1" # Pixel Representation 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE 0008|0060 "CT" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1680 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1680 x(690) Lgt:524288 x(80000)" ] [ CT-MONO2-16-ort.dcm @@ -124,7 +130,7 @@ 0028|0103 "1" # Pixel Representation 0008|0060 "CT" # Modality 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE) - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1674 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1674 x(68a) Lgt:524288 x(80000)" ] [ CT-MONO2-16-ankle.dcm @@ -139,7 +145,7 @@ 0028|0103 "1" # Pixel Representation 0008|0060 "CT" # Modality 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE) - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1148 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1148 x(47c) Lgt:524288 x(80000)" ] [ CT-MONO2-8-abdo.dcm @@ -156,7 +162,7 @@ 0028|0103 "0" # Pixel Representation 0008|0060 "CT" # Modality 0002|0010 "1.2.840.10008.1.2" # Transfer Syntax (Implicit VR, LE) - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:796 Length:262144 x(40000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:796 x(31c) Lgt:262144 x(40000)" ] [ CT-MONO2-12-lomb-an2.acr @@ -174,7 +180,7 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax UID 0008|0060 "CT" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1230 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1230 x(4ce) Lgt:524288 x(80000)" ] [ CT-MONO2-16-chest.dcm @@ -191,10 +197,10 @@ 0028|0100 "16" # Bits Allocated 0028|0102 "15" # High Bit 0028|0103 "1" # Pixel Representation - 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended - # process (2,4) + 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 (BinEntry) Address:1638 Length:143498 x(2308a)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1638 x(666) Lgt:143498 x(2308a)" ] ############################################################ @@ -221,7 +227,7 @@ 0008|0060 "MR" # Modality # Note: 256*256*12/8 = 98304 i.e. # Rows * Columns * Bits_Stored / (8 bits per pixel) = Length in bytes - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:650 Length:98304 x(18000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:650 x(28a) Lgt:98304 x(18000)" ] [ MR-MONO2-12-an2.acr @@ -238,7 +244,7 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax UID 0008|0060 "MR" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1866 Length:131072 x(20000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1866 x(74a) Lgt:131072 x(20000)" ] [ MR-MONO2-16-head.dcm @@ -253,14 +259,14 @@ 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 (BinEntry) Address:1804 Length:131072 x(20000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1804 x(70c) Lgt:131072 x(20000)" ] [ MR-MONO2-12-shoulder.dcm # - Particularities: # * jpeg encoding (see "Transfer Syntax UID" tag) 0008|0070 "Philips Medical Systems " # Manufacturer - 0008|1090 "Gyroscan NT " # Manufacturer's Model Name + 0008|1090 "Gyroscan NT " # Manufacturer's Model Name 0028|0101 "12" # Bits Stored 0028|0004 "MONOCHROME2 " # Photometric Interpretation 0028|0010 "1024" # Rows @@ -271,7 +277,7 @@ 0002|0010 "1.2.840.10008.1.2.4.57" # Transfer Syntax: jpeg, # Lossless, non-hierar. (14) 0008|0060 "MR" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1580 Length:718948 x(af864)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1580 x(62c) Lgt:718948 x(af864)" ] ############################################################ @@ -287,7 +293,7 @@ # * has a color palette (see Photometric Interpretation) # * "Manufacturer" is absent. # * "Manufacturer's Model Name" is absent. - 0008|0070 "gdcm::Unfound" # Manufacturer + 0008|0070 "gdcm::Unfound" # Manufacturer 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name 0028|0101 "8" # Bits Stored 0028|0004 "PALETTE COLOR " # Photometric Interpretation @@ -298,7 +304,8 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax UID 0008|0060 "OT" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1654 Length:307200 x(4b000)" + 0028|0002 "1" # Samples per Pixel + 7fe0|0010 "gdcm::NotLoaded Ad.:1654 x(676) Lgt:307200 x(4b000)" ] [ OT-MONO2-8-a7.dcm @@ -316,7 +323,7 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax UID 0008|0060 "OT" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:438 Length:262144 x(40000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:438 x(1b6) Lgt:262144 x(40000)" ] ############################################################ @@ -346,7 +353,7 @@ # Rows * Columns * Samples_per_Pixel = Total_number_of_bytes # "Samples per Pixel" is 3 since this is an RGB image (see # "Photometric Interpretation" entry). - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:904 Length:92160 x(16800)" + 7fe0|0010 "gdcm::NotLoaded Ad.:904 x(388) Lgt:92160 x(16800)" ] [ US-RGB-8-epicard.dcm @@ -372,7 +379,7 @@ # Rows * Columns * Samples_per_Pixel = Total_number_of_bytes # "Samples per Pixel" is 3 since this is an RGB image (see # "Photometric Interpretation" entry). - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1012 Length:921600 x(e1000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1012 x(3f4) Lgt:921600 x(e1000)" ] ############################################################ @@ -400,7 +407,7 @@ 0028|0008 "16" # Number of Frames # Note: 256 * 256 * 16 = 1048576 i.e. # Rows * Columns * Number_of_Frames = Total_number_of_bytes - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:920 Length:1048576 x(100000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:920 x(398) Lgt:1048576 x(100000)" ] [ NM-MONO2-16-13x-heart.dcm @@ -418,9 +425,9 @@ 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR, LE 0008|0060 "NM" # Modality 0028|0008 "13" # Number of Frames - # Note: 64 * 64 * 13 * 2 = 106496 i.e. + # Note: 64 * 64 * 13 * = 106496 i.e. # Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1234 Length:106496 x(1a000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1234 x(4d2) Lgt:106496 x(1a000)" ] [ US-MONO2-8-8x-execho.dcm @@ -442,7 +449,7 @@ 0028|0008 "8 " # Number of Frames # Note: 120 * 128 * 8 * 1 = 122880 i.e. # Rows * Columns * Number_of_Frames * Bits_Stored / 8 = number_of_bytes - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:976 Length:122880 x(1e000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:976 x(3d0) Lgt:122880 x(1e000)" ] [ US-PAL-8-10x-echo.dcm @@ -462,8 +469,10 @@ 0002|0010 "1.2.840.10008.1.2.5" # Transfer Syntax: RLE Lossless 0008|0060 "US" # Modality 0028|0008 "10" # Number of Frames + 0028|0002 "1" # Samples per Pixel + 0028|0006 "gdcm::Unfound" # Planar Configuration # Note: 430 * 600 * 8 != 481182 because of compression ! - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:2428 Length:481182 x(7579e)" + 7fe0|0010 "gdcm::NotLoaded Ad.:2428 x(97c) Lgt:481182 x(7579e)" ] [ XA-MONO2-8-12x-catheter.dcm @@ -481,12 +490,90 @@ 0028|0100 "8" # Bits Allocated 0028|0102 "7" # High Bit 0028|0103 "0" # Pixel Representation - 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg extended - # process (2,4) + 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless, + # ... Process 14 [Selection Value 1] 0008|0060 "XA" # Modality 0028|0008 "12" # Number of Frames # Note: 512 * 512 * 12 != 920072 because of compression ! - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:1006 Length:920072 x(e0a08)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1006 x(3ee) Lgt:920072 x(e0a08)" +] + +[ GE_DLX-8-MONO2-Multiframe.dcm + # - Particularities: + # * Multiframe image (see Number of Frames tag) + # * the private tags are NOT in Explicit VR + # --> assumed as BinEntries + # ( groups 11, 15, 19) + # * allmost groups (this is not the case of group 0x0008) contain + # a "Group Length" tag (*, 0x0000) + # * contains a "Mask Subtraction Sequence" at tag 0028|6100 + # * contains a "Device Sequence" at tag 0050|0010 + 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer + 0008|1090 "DLX " # Manufacturer's Model Name + 0028|0101 "8" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0010 "512" # Rows + 0028|0011 "512" # Columns + 0028|0100 "8" # 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 "XA" # Modality + 0028|0008 "56" # Number of Frames + # Note: 512 * 512 * 56 = 14680064 i.e. + # Rows * Columns * Number_of_Frames = Total_number_of_bytes. + 7fe0|0010 "gdcm::NotLoaded Ad.:4984 x(1378) Lgt:14680064 x(e00000)" +] + + +[ ACUSON-24-YBR_FULL_422-Jpeg_Baseline_1.dcm + # - Particularities: + # * Jpeg Baseline (Process 1) encoding. + # * YBR_FULL_422 encoding and hence "Samples per Pixel" tag is 3 + # (see "Photometric Interpretation" entry). + # * has a "Sequence of Ultrasound Regions " at tag (0x0018, 0x6011). + # * WITHIN this sequence [at tag (0x0018, 0x6011)] we encounter + # tags [e.g. (0x0018, 0x602c) ] with "FD" as value representation + # that are "non printable" when interpreted as characters. "Non + # printable" stands for "contains control characters that corrupts + # a majority of UN*X shells"... + # * Multiframe image with 40 fragments : see Number of Frames tag. + 0008|0070 "ACUSON" # Manufacturer + 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name + 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 + 0028|0002 "3" # Samples per Pixel + 0028|0008 "40" # Number of Frames + 7fe0|0010 "gdcm::NotLoaded Ad.:1872 x(750) Lgt:3291746 x(323a62)" +] + +[ ACUSON-24-YBR_FULL-RLE-b.dcm + # - Particularities: + # * RLE Lossless encoding. + # * YBR_FULL encoding and hence "Samples per Pixel" tag is 3 + # (see "Photometric Interpretation" entry). + # * contains a "Source Image Sequence" at tag 0008|2112 + 0008|0070 "ACUSON" # Manufacturer + 0008|1090 "gdcm::Unfound" # Manufacturer's Model Name + 0028|0101 "8" # Bits Stored + 0028|0004 "YBR_FULL" # Photometric Interpretation + 0028|0010 "288" # Rows + 0028|0011 "384" # Columns + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0028|0103 "0" # Pixel Representation + 0002|0010 "1.2.840.10008.1.2.5" # Transfer Syntax: RLE Lossless + 0008|0060 "US" # Modality + 0028|0002 "3" # Samples per Pixel + 7fe0|0010 "gdcm::NotLoaded Ad.:2032 x(7f0) Lgt:80822 x(13bb6)" ] ############################################################ @@ -496,7 +583,8 @@ # - Particularities: # * old (circa 1991) ACR NEMA version 1.0 format. # * apparently broken pixel data (see below) - # * Pixel Representation (0028|0103) is absent + # * "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" @@ -532,35 +620,7 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax UID 0008|0060 "MR" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)" -] - -[ gdcm-MR-SIEMENS-16-1.acr - # - Particularities: - # * old (circa 1991) ACR NEMA version 1.0 format. - # * the image pixel data looks corrupted (see below) - # * wierd padding of "Manufacturer's Model Name" tag - # * "Photometric Interpretation" tag is absent - # * Group 20 does NOT contain: - # - "Study" - # - "Serie Instance UID" - 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 - # Note: the 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. - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)" + 7fe0|0010 "gdcm::NotLoaded Ad.:8192 x(2000) Lgt:132096 x(20400)" ] ############################################################ @@ -570,6 +630,10 @@ # - 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 @@ -583,7 +647,7 @@ 0008|0010 "ACR-NEMA 2.0" # Recognition Code (RET) 0008|0060 "MR" # Modality 0020|0011 " 7" # Series Number - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6052 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:6052 x(17a4) Lgt:524288 x(80000)" ] [ SIEMENS_MAGNETOM-12-ACR_NEMA_2-Modern.dcm @@ -608,19 +672,72 @@ # UID 0020|0011 " 7" # Series Number 0020|0010 " 1" # Study ID - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:6052 Length:524288 x(80000)" + 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... +### Images with various oddities... ############################################################################# [ gdcm-US-ALOKA-16.dcm # - Particularities: # * possesses 3 LUTs (Segmented Palette Color): a Green (checked), a - # Red and Blue. + # 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) - 0008|0070 "ALOKA CO., LTD. " # Manufacturer + # * 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 @@ -633,12 +750,13 @@ 0008|0060 "US" # Modality # The Segmented Palette Color Lookup Table Data: # Red - 0028|1221 "gdcm::NotLoaded (BinEntry) Address:1750 Length:87818 x(1570a)" + 0028|1221 "gdcm::NotLoaded Ad.:1750 x(6d6) Lgt:87818 x(1570a)" # Green - 0028|1222 "gdcm::NotLoaded (BinEntry) Address:89576 Length:113784 x(1bc78)" + 0028|1222 "gdcm::NotLoaded Ad.:89576 x(15de8) Lgt:113784 x(1bc78)" # Blue - 0028|1223 "gdcm::NotLoaded (BinEntry) Address:203368 Length:55364 x(d844)" - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:258740 Length:614400 x(96000)" + 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 @@ -646,7 +764,9 @@ # * 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 @@ -659,7 +779,7 @@ 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 (BinEntry) Address:35846 Length:32768 x(8000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:35846 x(8c06) Lgt:32768 x(8000)" ] [ gdcm-CR-DCMTK-16-NonSamplePerPix.dcm @@ -668,7 +788,7 @@ # http://dicom.offis.de/dcmtk.php.en) # * Misses the "Samples Per Pixel" element which prevents # e-film from reading it. - # * Misses the Manufacturer related info + # * 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 @@ -682,13 +802,20 @@ 0008|0060 "CR" # Modality 0002|0013 "OFFIS_DCMTK_341 " # Implementation Version Name 0028|0002 "gdcm::Unfound" # Samples per Pixel - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:740 Length:562500 x(89544)" + 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 @@ -701,7 +828,7 @@ 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 (BinEntry) Address:5010 Length:20480 x(5000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:5010 x(1392) Lgt:20480 x(5000)" ] [ SIEMENS_Sonata-16-MONO2-Value_Multiplicity.dcm @@ -709,6 +836,7 @@ # * 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 @@ -721,7 +849,27 @@ 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 (BinEntry) Address:25686 Length:106496 x(1a000)" + 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 @@ -739,13 +887,12 @@ 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 (BinEntry) Address:1406 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:1406 x(57e) Lgt:524288 x(80000)" ] [ PHILIPS_Gyroscan-8-MONO2-Odd_Sequence.dcm # - Particularities: - # * Contains an odd sequence at tag (0x0008, 0x1140). - # JPR FIXME: in what sense is to odd ??? + # * 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 @@ -757,18 +904,25 @@ 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 (BinEntry) Address:6584 Length:131072 x(20000)" + 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 - # - an 8x8 icon hiden in sequence encountered at tag (0x0088, 0x0200) - # This implies this image contains two 7fe0|0010 (among one is + # - 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 @@ -780,15 +934,14 @@ 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 (BinEntry) Address:18228 Length:524288 x(80000)" + 7fe0|0010 "gdcm::NotLoaded Ad.:18228 x(4734) Lgt:524288 x(80000)" ] [ KODAK-12-MONO1-Odd_Terminated_Sequence.dcm # - Particularities: - # * within the sequence at tag (0x0028, 0x3000) we encounter - # an "Item Delimitation" (0xfffe, 0xe00d) followed by an - # "Sequence Delimitation Item" (0xfffe, 0xe0dd) just after - # the tag (0x0028, 0x3006) !!! + # * 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 @@ -802,7 +955,180 @@ 0028|0103 "0" # Pixel Representation 0002|0010 "gdcm::Unfound" # Transfer Syntax: Implicit VR, LE 0008|0060 "CR" # Modality - 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:9134 Length:8572928 x(82d000)" + 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 "SPI RELEASE 1 " # 'Printable' BinEntry + 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)" ] ############################################################ @@ -810,9 +1136,15 @@ ############################################################ [ 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 @@ -825,13 +1157,10 @@ 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 (BinEntry) Address:2946 Length:192218 x(2eeda)" + 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 anoymized version of this one)... +[ SIEMENS-12-Jpeg_Process_2_4-Lossy-a.dcm # - Particularities: # * jpeg compression [Extended Process (2,4)] 0008|0070 "SIEMENS " # Manufacturer @@ -846,7 +1175,7 @@ 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 (BinEntry) Address:2946 Length:192218 x(2eeda)" + 7fe0|0010 "gdcm::NotLoaded Ad.:3044 x(be4) Lgt:66978 x(105a2)" ] [ gdcm-JPEG-LossLess3a.dcm @@ -854,7 +1183,7 @@ # * jpeg compression [Lossless, hierar., first-order prediction # (Process 14, Selection Value 1) ] # * contains additional data after the pixels (see below) - # * contains a sequence at tag (0x0008, 0x2112) + # * 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 @@ -864,8 +1193,8 @@ 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 extended - # process (2,4) + 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" @@ -898,7 +1227,7 @@ # 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 (BinEntry) Address:2540 Length:212890 x(33f9a)" + 7fe0|0010 "gdcm::NotLoaded Ad.:2540 x(9ec) Lgt:212890 x(33f9a)" ] [ gdcm-JPEG-LossLessThoravision.dcm @@ -908,6 +1237,8 @@ # * 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 @@ -917,104 +1248,393 @@ 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 extended - # process (2,4) + 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 (BinEntry) Address:3144 Length:4795668 x(492d14)" + 7fe0|0010 "gdcm::NotLoaded Ad.:3144 x(c48) Lgt:4795668 x(492d14)" ] -############################################################################# -# multiframe1.dcm -# multiframe2.dcm -# Cardiovasculaire multiframe -# True Dicom -# Explicit VR -# les champs prives ne *sont pas* Explicit VR -# tous les Groupes comportent un element 0000 -# Pixels codes sur 10 bits -# -# -# jpeglossles1.dcm -# Jpeg LossLess -# True Dicom -# Explicit VR -# SQ en (0008,2112) -# contient peut etre (?!) des curiosités apres les Pixels -# -# jpeglossless2.dcm -# CR Thoravision Philips Cardio -# Jpeg LossLess -# True Dicom -# Explicit VR -# Jpeg mal decodé par les fonctions utilisees -# -# jpeglossy1.dcm -# jpeglossy2.dcm -# jpeglossy3.dcm -# Jpeg Lossy -# Decodage non traite par mes fonctions -# -# imageEcat.ecat -# Image au format ECAT (Medecine Nucleaire) -# On n'y echapera pas encore tres longtemps, a celles la :-( -# -# ---------------- Ajouts 20 Nov 2002 -# -# mr176621 -# MR Toshiba -# ACRNEMA-V2 -# abscence de l'element 0000 (group length) pour tous les groupes -# -# cr_45031 -# CR Fuji -# ACRNEMA V2 -# 1670x2010 -# -# US.1.2.dcm -# US.1.3.dcm -# US ACUSON -# DICOM 3 Multiframe -# JPEG 8 bits Lossy -# (0028,0002) Samples Per Pixel = 3 -# (0018, 6011) : SQ -# les champs à l'interieur de cette 'Sequence' -# contiennent des caract non imprimables qui déconfigurent l'ecran :-( -# -# Ces deux examens, correspondant a 2 patients differents ont le meme Study ID -# -# philipsMR-lossy.ima -# MR Philips (Neuro) -# True Dicom -# indiquée comme ACR-NEMA V1 dans l'entete -# JPEG Lossy (Transfer Syntax UID : [1.2.840.10008.1.2.4.51]) +[ 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. +] +########################################################################### +# All the following files come from the LeadTools site (see +# http://www.leadtools.com/SDK/Medical/DICOM/ltdc19.htm ) +# and (probably) serves as an illustration of many Dicom encoding/compression +# modes. Those "hand made" files were not produced by any acquisition engine +# and hence are not from "real" life. +# All the following files share the same size (535x800), the same pixel +# representation ("0") ; +# 0028|0010 "535" # Rows +# 0028|0011 "800" # Columns +# 0028|0103 "0" # Pixel Representation +# and hold the same picture: some flowers... +[ LEADTOOLS_FLOWERS-8-MONO2-JpegLossy.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0002|0010 "1.2.840.10008.1.2.4.50" # Transfer Syntax: jpeg Baseline, + # ... Process 1 + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-8-PAL-RLE.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "PALETTE COLOR " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0028|0006 "2" # Planar Configuration + 0002|0010 "1.2.840.10008.1.2.5" # Transfer Syntax: RLE Lossless + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-8-MONO2-RLE.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0002|0010 "1.2.840.10008.1.2.5" # Transfer Syntax: RLE Lossless + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-8-PAL-Uncompressed.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "PALETTE COLOR " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR - + # Little Endian + 7fe0|0010 "gdcm::NotLoaded Ad.:3538 x(dd2) Lgt:428000 x(687e0)" +] + +[ LEADTOOLS_FLOWERS-8-MONO2-Uncompressed.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0002|0010 "1.2.840.10008.1.2.1" # Transfer Syntax: Explicit VR - + # Little Endian + 7fe0|0010 "gdcm::NotLoaded Ad.:1942 x(796) Lgt:428000 x(687e0)" +] + +[ LEADTOOLS_FLOWERS-16-MONO2-JpegLossless.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "16" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0100 "16" # Bits Allocated + 0028|0102 "15" # High Bit + 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless, + # ... Process 14 [Selection Value 1] + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-16-MONO2-RLE.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "16" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0100 "16" # Bits Allocated + 0028|0102 "15" # High Bit + 0002|0010 "1.2.840.10008.1.2.5" # Transfer Syntax: RLE Lossless + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-16-MONO2-Uncompressed.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "16" # Bits Stored + 0028|0004 "MONOCHROME2 " # Photometric Interpretation + 0028|0100 "16" # Bits Allocated + 0028|0102 "15" # High Bit + 0002|0010 "1.2.840.10008.1.2.1" # Explicit VR - Little Endian + 7fe0|0010 "gdcm::NotLoaded Ad.:1942 x(796) Lgt:856000 x(d0fc0)" +] + +[ LEADTOOLS_FLOWERS-24-RGB-JpegLossless.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "RGB " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0028|0002 "3" # Samples per Pixel + 0002|0010 "1.2.840.10008.1.2.4.70" # Transfer Syntax: jpeg Lossless, + # ... Process 14 [Selection Value 1] + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-24-RGB-JpegLossy.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "RGB " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0028|0002 "3" # Samples per Pixel + 0002|0010 "1.2.840.10008.1.2.4.50" # Transfer Syntax: jpeg Baseline, + # ... Process 1 + # No "7fe0|0010" +] + +[ LEADTOOLS_FLOWERS-24-RGB-Uncompressed.dcm + # - Particularities: + 0002|0016 "LEADTOOLS " # Source Application Entity Title + 0028|0101 "8" # Bits Stored + 0028|0004 "RGB " # Photometric Interpretation + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0028|0002 "3" # Samples per Pixel + 0002|0010 "1.2.840.10008.1.2.1" # Explicit VR - Little Endian + 7fe0|0010 "gdcm::NotLoaded Ad.:1934 x(78e) Lgt:1284000 x(1397a0)" +] + +########################################################################### +### LIBIDO format images +### The libido format is an "extension" of the old ACRNEMA version 1.1 +### format. It was "designed" to embed images of float or double type +### (in the sense of the C language) within the ACRNEMA format. +### LIBIDO images are typically used as a temporary container for +### observing the internal stages of a computation image pipeline +### (i.e. some kind of file watch point), with a shallow compatibility +### with the ACRNEMA format. By shallow compatibility we mean that +### a classical DICOM viewer has no knowledge of the LIBIDO format +### and hence cannot display it (how to display a "double" image anyhow). +### Very few tags are available (e.g. no "Manufacturer" related +### info, no medical information). +### LIBIDO images can be recognized by their "Recognition Code" +########################################################################### +[ LIBIDO-16-ACR_NEMA-Volume.dcm + # - Particularities: + # * this file represents a "volume" i.e. it has a "Number of Planes", + # (but no "Number of Frames") + 0008|0010 "ACRNEMA_LIBIDO_1.1" # Recognition Code (RET) + 0028|0005 "3" # Image Dimensions (RET) + 0028|0010 "50" # Rows + 0028|0011 "50" # Columns + 0028|0012 "262" # Planes + 0028|0101 "16" # Bits Stored + 0028|0100 "16" # Bits Allocated + 0028|0102 "15" # High Bit + 0028|0103 "0" # Pixel Representation + 7fe0|0010 "gdcm::NotLoaded Ad.:210 x(d2) Lgt:1310000 x(13fd30)" +] + +[ LIBIDO-24-ACR_NEMA-Rectangle.dcm + # FIXME TODO \todo + # The Rows and Columns presence breaks this test !!! + # + # - Particularities: + # * RGB encoding (24 bits). + # * Rectangle image : 100x400 + 0008|0010 "ACRNEMA_LIBIDO_1.1" # Recognition Code (RET) + 0028|0005 "2" # Image Dimensions (RET) + #0028|0010 "100" # Rows + #0028|0011 "400" # Columns + 0028|0101 "24" # Bits Stored + 0028|0100 "24" # Bits Allocated + 0028|0102 "23" # High Bit + 0028|0103 "0" # Pixel Representation + 7fe0|0010 "gdcm::NotLoaded Ad.:182 x(b6) Lgt:120000 x(1d4c0)" +] + +[ LIBIDO-8-ACR_NEMA-Lena_128_128.acr + # FIXME TODO \todo + # The Rows and Columns presence breaks this test !!! + # + # - Particularities: + # * the classical lena image (with size 128x128), recoded as LIBIDO image + 0008|0010 "ACRNEMA_LIBIDO_1.1" # Recognition Code (RET) + 0028|0005 "2" # Image Dimensions (RET) + #0028|0010 "128" # Rows + #0028|0011 "128" # Columns + 0028|0101 "8" # Bits Stored + 0028|0100 "8" # Bits Allocated + 0028|0102 "7" # High Bit + 0028|0103 "0" # Pixel Representation + 7fe0|0010 "gdcm::NotLoaded Ad.:182 x(b6) Lgt:16384 x(4000)" +] + +########################################################################### +### A Philips Intera (NTSCAN) image. It has a private dicom sequence where the +### field is being flip to BigEndian for no reason. +### Thanks to Peter Cech for providing images and patch ! +########################################################################### +[ PHILIPS_Intera-16-MONO2-Uncompress.dcm + # - Particularities: + # Sequence difficult to read since we need to flip reading to BigEndian + # Only during the reading of the private sequence. + 0008|0070 "Philips Medical Systems " # Manufacturer + 0008|1090 "Intera" # Manufacturer's Model Name + 0008|1010 "NTSCAN" # Station Name + 0028|0010 "1024" # Rows + 0028|0011 "1024" # Columns + 0028|2110 "00" # Lossy Image Compression + 0018|1250 "SENSE-head" # Receive Coil Name + # 0029|2021/0#0029|246a "DICOM " # not accessible for the current + # state of the API since this tag + # lives within a sequence + 2005|e027 "MAXIMUM " # unkn + 7fe0|0010 "gdcm::NotLoaded Ad.:9276 x(243c) Lgt:2097152 x(200000)" +] + +########################################################################### +### A GE LOGIQBook 8Bits RGB with huge preview and a small preview +########################################################################### +[ GE_LOGIQBook-8-RGB-HugePreview.dcm + # - Particularities: + # A Huge Preview and a small preview + 0008|0070 "GE Medical Systems" # Manufacturer + 0008|1090 "LOGIQBook " # Manufacturer's Model Name + 0008|1010 "LOGIQBOOK " # Station Name + 0028|0010 "480" # Rows + 0028|0011 "640" # Columns + 6003|0010 "GEMS_Ultrasound_ImageGroup_001" # unkn + 7fe0|0010 "gdcm::NotLoaded Ad.:935608 x(e46b8) Lgt:921600 x(e1000)" + # Just for fun: + #7fe1|0010 "GEMS_Ultrasound_MovieGroup_001" # unkn +] + +########################################################################### +### A GE DLX image with a private transfer syntax: 1.2.840.113619.5.2 +### This is Implicit VR Big Endian (GE Private). Basically the header +### is in little endian, while image is in big endian +########################################################################### +[ GE_DLX-8-MONO2-PrivateSyntax.dcm + # - Particularities: + # Private syntax: Implicit VR Big Endian (GE Private) + 0002|0010 "1.2.840.113619.5.2" # Transfer Syntax UID + 0008|0070 "GE MEDICAL SYSTEMS" # Manufacturer + 0008|1090 "DLX " # Manufacturer's Model Name + 0018|1510 "-8" # Positioner Primary Angle + 0018|1700 "CIRCULAR" # Collimator Shape + 0018|1710 "256\256 " # Center of Circular Collimator + 0028|0010 "512" # Rows + 0028|0011 "512" # Columns + #0028|6100 "" # Mask Subtraction Sequence + # Testing Public Sequence: + #0028|6101 "AVG_SUB " # Mask Operation + 7fe0|0010 "gdcm::NotLoaded Ad.:2920 x(b68) Lgt:14155776 x(d80000)" +] ########################################################################### -# Not in gdcmData anymore (or renamed to something else???) !!! +### Documented images not yet integrated in the test suite +########################################################################### +# +# +# + +########################################################################### +### Images present in gdcmData but whose peculiarity is not documented yet +########################################################################### +# 00191113.dcm #Jpeg Lossless 4 frames X-Ray Angiography +# +# 012345.002.050.dcm # a lot of FL and FD entries in sahdow group 0027 +# +# 3E768EB7.dcm # jpeg lossless, empty Basic Offset Table Item Length =4 +# +# DermaColorLossLess.dcm # native RBG image +# +# DICOMDIR #small DICOMDIR (4 patients, 1561 first-level SQItems, +# embedded second level sequences at 0008|1140) +# +# RadBWLossLess.dcm # jpeg lossless, empty Basic Offset Table Item Length= 0 +# +# test.acr #ACR-LibIDO formated image. Was used as a test image by testSuite +# +# +# XA_GE_DLX_xadc.dcm +# Multi Frame General Electrics Angio XA image. +# The Transfert Syntax is "1.2.840.113619.5.2" +# known as "GE Private Transfert Syntax" +# +# +# US-IRAD-NoPreambleStartWith0003.dcm +#'No preamble' Dicom image, starting with a Shadow Group 0x0003, +# that's not so usual +# (the image comes from IRAD data set, and breaks some viewers) +# +# +# US-IRAD-NoPreambleStartWith0005.dcm +#'No preamble' Dicom image, starting with a Shadow Group 0x0005, +# that's not so usual +#(the image comes from IRAD data set, and breaks some viewers) +# +# +#========================================================================== +# +# Credits : +# ------- +# A lot of images we use come from : +# +# Sebastien Barré's site +# IRAD (Mac OS X Dicom viewer) site +# David Clunnie's compression data set +# Osiris site (Papyrus images) +# XMedcon site +# LeadTool site (for various color encoding images) +# ETIAM site (for Dicom-MPEG images) # -# acusson.dcm -# Echographie single Frame -# True Dicom -# Explicit VR -# 3 LUT (R, G, B) +# Some more were provided by Dr Loic Boussel (DicomWorks designer), in the times +# we were fighting together against 'exotic' ACR-NEMA images # -# pixelNonRect.dcm -# Irm Philips Marseille -# True Dicom -# Explicit VR -# les champs prives *sont* Explicit VR -# les champs prives contiennent des caract non imprimables -# Pixels non Rectangulaires -# -# sonata.dcm -# IRM Siemens Sonata (images taggees) -# SQ en (0008,1140),contenant (0008,1150), (0008,1155) 3 fois -# -# esrf1.dcm -# Vg Studio Max -# True Dicom -# Explicit VR -# Manque 'Samples Per Pixel' pour etre lue par e-film -# +# A lot of other come from the imagers we (had/have) at Neurological and +# Cardilogical Hospitals in Lyon +# (Siemens MR, Philips MR, GE CT, Philips CT, Philips CR, GE XA, Philips XA ... +# Sorry, probabely a lot are missing. +# I'll update the list later. +# JPRx +