]> Creatis software - gdcmData.git/blob - TestAllEntryVerifyReference.txt
- oldACR00001.ima renamed to SIEMENS_GBS_III-16-ACR_NEMA_1.acr
[gdcmData.git] / TestAllEntryVerifyReference.txt
1 [ CR-MONO1-10-chest.dcm
2    #"Transfer Syntax UID" is absent.
3    0008|0060 "CR"   # Modality
4    0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer
5    0008|1090 "9000" # Manufacturer's Model Name
6    0028|0010 "440"  # Rows
7    0028|0011 "440"  # Columns
8    0028|0100 "16"   # Bits Allocated
9    0028|0101 "10"   # Bits Stored
10    0028|0102 "9"    # High Bit
11    0028|0103 "0"    # Pixel Representation
12    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:776 Length:387200 x(5e880)"
13 ]
14
15 [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr
16   # - Particularities:
17   #   * old (circa 1991) ACR NEMA version 1.0 format.
18   #   * Pixel Representation (0028|0103) is absent
19   #   * apparently broken pixel data (see below)
20   #
21   # - This image pixel data looks corrupted, in the sense that the
22   #   following sizes do NOT match (as expected):
23   #   * it's pixel data is 132096 bytes long
24   #   * it has a size of 256x256 with 16 bytes per pixel, i.e. a size
25   #     of 256*256*2 = 131072 bytes.
26   # - Because of this missmatch, TestReadWriteReadCompare segfaults
27   #   on this image.
28   #   In details, when segfault occurs we have the following call stack:
29   #       gdcmFile::GetImageData()
30   #          PixelData = new uint8_t[ImageDataSize];
31   #          \--->::GetImageDataIntoVector(destination, ImageDataSize)
32   #           \---> ::ReadPixelData(destination)
33   #            \---> fread(destination, Header->GetPixelAreaLength(), 1, fp);
34   #   which causes the segfault because :
35   #       - destination is ImageDataSize i.e. 131072 bytes long
36   #       - Header->GetPixelAreaLength() = 132096 bytes long
37    0028|0010 "256"  # Rows
38    0028|0011 "256"  # Columns
39    0008|0060 "MR"   # Modality
40    0028|0100 "16"   # Bits Allocated
41    0028|0101 "12"   # Bits Stored
42    0028|0102 "11"   # High Bit
43    0008|0070 "SIEMENS "     # Manufacturer
44    0008|1090 "GBS III     " # Manufacturer's Model Name
45    7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)"
46 ]