Project

General

Profile

Actions

Bug #314

closed

DcmElement::getUncompressedFrameSize() funktioniert nur bei BitsAllocated = n*8

Added by Jörg Riesmeier almost 16 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Library
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

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

getUncompressedFrameSizeTest.dcm.gz (69.7 KB) getUncompressedFrameSizeTest.dcm.gz Marco Eichelberg, 2015-04-22 13:36
Actions #1

Updated by Jörg Riesmeier over 11 years ago

  • Category set to Library
  • Assignee set to Marco Eichelberg
Actions #2

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.

Actions #3

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...

Actions #4

Updated by Marco Eichelberg over 10 years ago

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).

Actions

Also available in: Atom PDF