[ CR-MONO1-10-chest.dcm #"Transfer Syntax UID" is absent. 0008|0060 "CR" # Modality 0008|0070 "FUJI PHOTO FILM CO. LTD." # Manufacturer 0008|1090 "9000" # Manufacturer's Model Name 0028|0010 "440" # Rows 0028|0011 "440" # Columns 0028|0100 "16" # Bits Allocated 0028|0101 "10" # Bits Stored 0028|0102 "9" # High Bit 0028|0103 "0" # Pixel Representation 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:776 Length:387200 x(5e880)" ] [ SIEMENS_GBS_III-16-ACR_NEMA_1.acr # - Particularities: # * old (circa 1991) ACR NEMA version 1.0 format. # * Pixel Representation (0028|0103) is absent # * apparently broken pixel data (see below) # # - 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 0028|0010 "256" # Rows 0028|0011 "256" # Columns 0008|0060 "MR" # Modality 0028|0100 "16" # Bits Allocated 0028|0101 "12" # Bits Stored 0028|0102 "11" # High Bit 0008|0070 "SIEMENS " # Manufacturer 0008|1090 "GBS III " # Manufacturer's Model Name 7fe0|0010 "gdcm::NotLoaded (BinEntry) Address:8192 Length:132096 x(20400)" ]