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 » Thu, 2014-02-27, 15:10

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: 2284
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 » Fri, 2014-03-07, 10:22

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 » Tue, 2014-03-11, 17:35

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