How can I convert an 8-bit mat to a 32-bit mat for use in the kmeans function. I tried using ConvertScale, but the compiler said it was an unknown function. I am using OpenCV 2.3.1 and want to avoid using API calls from older versions.
Thanks in advance!
source
share