First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked Sep 22 '12

Thomas_N gravatar image

image data processing in cv::Mat

Dear All, i have image info in Z matrix, say cv:Mat Z;

If i use x, y index to access the data in the unsigned char data matrix inside Z, how can I access the green channel data value only for that particular x, y index. I like to implement most efficient way in terms of processing speed. Thanks, Thomas