DcmPixelSequenze::storeCompressedFrame()

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
csmeso
Posts: 17
Joined: Mon, 2006-06-19, 15:21

DcmPixelSequenze::storeCompressedFrame()

#1 Post by csmeso »

When creating a multi-frame image using DcmPixelSequenze::storeCompressedFrame(), the offset in the offset list is sometimes wrong: if the image added has an odd length, it is padded to an even length, but the currentSize isn't corrected. This leads to wrong offsets in the offset table when generated later using DcmPixelItem::createOffsetTable().

This error is not fixed in the current snapshot.

A workaround is to make my own createOffsetTable adding one to the running offset for each odd size.

Please fix it in the next release.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Thank you for the report.

Do you have an example that demonstrates this behavior? Which compression scheme (transfer syntax) are you using?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest