]> Creatis software - gdcmData.git/commitdiff
- oldACR00001.ima renamed to SIEMENS_GBS_III-16-ACR_NEMA_1.acr
authorfrog <frog>
Tue, 6 Jul 2004 09:49:52 +0000 (09:49 +0000)
committerfrog <frog>
Tue, 6 Jul 2004 09:49:52 +0000 (09:49 +0000)
     (directly on server so no cvs message present)
   - added this Changelog
   - added reference file for both comments and test suite.

Changelog [new file with mode: 0644]
TestAllEntryVerifyReference.txt [new file with mode: 0644]

diff --git a/Changelog b/Changelog
new file mode 100644 (file)
index 0000000..f2fa2fd
--- /dev/null
+++ b/Changelog
@@ -0,0 +1,5 @@
+2004-07-06 Eric Boix <Eric.Boix@creatis.insa-lyon.fr> 
+   - oldACR00001.ima renamed to SIEMENS_GBS_III-16-ACR_NEMA_1.acr
+     (directly on server so no cvs message present)
+   - added this Changelog
+   - added reference file for both comments and test suite.
diff --git a/TestAllEntryVerifyReference.txt b/TestAllEntryVerifyReference.txt
new file mode 100644 (file)
index 0000000..67582b9
--- /dev/null
@@ -0,0 +1,46 @@
+[ 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)"
+]