OpenCV

Anyone how the the member function ptr works?
Its supposed to return a pointer to the first uchar in a matrix's row but I dont really understand its interface (for example what are its parameters, whats needed for it too work)
The actual code is:

p = I.ptr<uchar>(i);

I am trying out colour reduction methods

Thanks

Topic archived. No new replies allowed.