pixel access methods - what is difference ?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
pboninsk
Posts: 5
Joined: Wed, 2005-03-09, 20:36
Location: Poland
Contact:

pixel access methods - what is difference ?

#1 Post by pboninsk »

Hi,

As far as I know there are 2 ways of access to pixels:

- DcmDataset->findAndGetUint16Array(DCM_PixelData, buff) - described as way to get "raw" pixels"
- DicomImage->getOutputData - descibed as way to get "rendered" pixels.

What is exact difference between these methods ?

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 »

The answer is already part of your question: the first method returns the "raw" (i.e. unprocessed) pixel data as stored in the Pixel Data element; the second method transforms the stored pixel data according to the (grayscale) transformation pipeline as described in the DICOM standard (i.e. applies modality and VOI transform if applicable).

Post Reply

Who is online

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