Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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
 

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 Friends,

please help me.

regards,
Naresh
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top