Ask Your Question

Revision history [back]

I had the same problem and found out that it's pretty easy to use: im.convertTo(convertedIm, CV_64F, scale) // scale here is optional, default value is 1.0 After that you can access element of convertedIm by convertedIm.at<vec3d>(i, j)

Hope this helps.