Bug #314
closedDcmElement::getUncompressedFrameSize() funktioniert nur bei BitsAllocated = n*8
100%
Description
Wenn BitsAllocated kein Vielfaches von 8 ist, dann stimmt die berechnete Frame-Größe insofern nicht, als dass in ''DcmPixelData::getUncompressedFrame()'' bei unkomprimierten Bildern ein falsches Start-Offset berechnet wird.
Files
Updated by Jörg Riesmeier over 11 years ago
- Category set to Library
- Assignee set to Marco Eichelberg
Already fixed by this commit?
http://git.dcmtk.org/web?p=dcmtk.git;a=commit;h=c94561123395e91aa204b78df94976bc4cc7a494
Updated by Marco Eichelberg over 11 years ago
Jörg Riesmeier wrote:
Already fixed by this commit?
http://git.dcmtk.org/web?p=dcmtk.git;a=commit;h=c94561123395e91aa204b78df94976bc4cc7a494
It seems to me that this indeed fixes the bug; the strange thing is that the commit was in May 2009, but the Redmine entry was created in November 2009.
Updated by Jörg Riesmeier over 11 years ago
- Tracker changed from Feature to Bug
- Target version set to 3.6.2
- % Done changed from 0 to 50
I checked the old "bug list" in the Wiki: the timestamp seems to be correct (which does not clarify the contradiction).
So, we probably need to test the code with an appropriate test file...
Updated by Marco Eichelberg over 10 years ago
- File getUncompressedFrameSizeTest.dcm.gz getUncompressedFrameSizeTest.dcm.gz added
- Status changed from New to Closed
- % Done changed from 50 to 100
I have created a test image with 3 frames and BitsAllocated=24, and image display works just fine. So the commit from 2009 indeed solved this problem. Attached the test file (manually generated starting with a Cabinet test image).