naresh850
Full Member level 3
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
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