Conversion from YBR_FULL to RGB in c++?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
faisal_tum
Posts: 33
Joined: Fri, 2013-01-11, 15:37

Conversion from YBR_FULL to RGB in c++?

#1 Post by faisal_tum »

Please pardon me if my question sounds silly!

Could you say exactly which program does the conversion of Photometric interpretation of a dicom image from YBR_FULL to RGB?
I want do some conversion in c++ and I want to see exactly how it is done from the source code of DCMTK.

I've had to deal with some problems regarding planar configurations before and DCMTK source code helped me dealing with that. Hence, this time too I'm curious if I can get any hint from the source of DCTMK regarding changing from YBR_FULL to RGB.

Thanks.

J. Riesmeier
DCMTK Developer
Posts: 2496
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Conversion from YBR_FULL to RGB in c++?

#2 Post by J. Riesmeier »

The conversion can be found in DiYBRPixelTemplate::convert(), i.e. in the header file "dcmtk/dcmimage/diybrpxt.h".

faisal_tum
Posts: 33
Joined: Fri, 2013-01-11, 15:37

Re: Conversion from YBR_FULL to RGB in c++?

#3 Post by faisal_tum »

J. Riesmeier wrote:The conversion can be found in DiYBRPixelTemplate::convert(), i.e. in the header file "dcmtk/dcmimage/diybrpxt.h".
Thanks a lot for your answer. Is there any template or method to do the opposite way around?

Post Reply

Who is online

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