YCbCr to RGB conversion

Status
Not open for further replies.

naresh850

Full Member level 3
Joined
Jun 9, 2006
Messages
157
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Activity points
2,249
Hello I want to replace opencv function to

cvCvtColor(ycbcr,rgb,CV_YCrCb2BGR)

hand written function.

I used the following formulla

r = (Y + 1.40200 * (Cr - 0x80));
g = (Y - 0.34414 * (Cb - 0x80) - 0.71414 * (Cr - 0x80));
b = (Y + 1.77200 * (Cb - 0x80));

but i got some blue dots in the rgb image

Can anybody help me to get exact coffiecient?

If anybody knows the exact coefficient then plz provide me?

or if u have nay document them plz forward me.

naresh850 at gmail.com

regards,
NAresh
 

Hello Friends,

please help me.

regards,
Naresh
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…