Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Explain a simple code

I'm a newbie in OpenCV, so I don't understand when reading this code below. Please explain to me what it means. uchar* ptr = (uchar) (image->imageData + yimage->widthStep);

Explain a simple code

I'm a newbie in OpenCV, so I don't understand when reading this code below. Please explain to me what it means. means.

uchar* ptr = (uchar) (image->imageData + yimage->widthStep);

click to hide/show revision 3
No.3 Revision

updated 2014-01-27 10:48:29 -0500

berak gravatar image

Explain a simple code

I'm a newbie in OpenCV, so I don't understand when reading this code below. Please explain to me what it means.

uchar* ptr = (uchar) (uchar*) (image->imageData + yimage->widthStep);

y*image->widthStep);