how to get pixel color of a color image

Hi Guys,

I am using a webcam to captures color image. I take the raw data direct and process it on Ubuntu OS using C++. I want to know how to grab pixel colors from the image. Is there a function like getRedPixel() ?

Thank you.
Topic archived. No new replies allowed.