Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm sorry I was wrong. i use im.ptr<float>(i)[j] but my Mat type is CV_8UC. i convert my Mat to CV_32F and use im.at<float>(i,j), fixed issue.