#277 pixeltype changed in GetBuffer method

2.7
open
9
2015-09-02
2012-10-29
Anonymous
No

While loading a JPEG-compressed image the pixel type of a gdcmBitmap object changes (from 12 bits allocated to 16).
See line gdcmBitmap.cxx:415.
This is done in a const method, Bitmap::TryJPEGCodec(), called by Bitmap::GetBuffer().

This behaviour raises problems when GDCM is used by ITK: in itkGDCMImageIO.cxx an image gets read, then GetBuffer
is called and afterwards the pixel type is checked for changes (only in Debug mode).

Discussion

  • Mathieu Malaterre

    • milestone: 2.2.1 --> 2.2.2
    • priority: 5 --> 7
     
  • Mathieu Malaterre

    • Group: 2.2.2 --> 2.3
    • Priority: 7 --> 9
     
  • Mathieu Malaterre

    issue 325 is directly related to this.

     
  • Mathieu Malaterre

    • Group: 2.3 --> 2.5
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks