FAQ #24: How to access original pixel data using class DicomImage?

Frequently Asked Questions regarding DCMTK

Moderator: FAQ Team

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

FAQ #24: How to access original pixel data using class DicomImage?

#1 Post by Jörg Riesmeier » Fri, 2004-11-05, 12:11

:?: How do I access original pixel data (e.g. Hounsfield Units for CT) using class DicomImage?

:!: Until recently, there was no (official) way to access the internal pixel data representation of DicomImage. The main purpose of this class (and module dcmimgle/dcmimage in general) is visualization and, therefore, you can only access rendered pixel data. However, starting with DCMTK 3.5.4 there is some means of accessing the internal representation directly using getInterData().

With previous versions of the DCMTK you should use the lower level routines from module dcmdata, e.g. findAndGetUint16Array().

Last update: 2006-01-31

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest