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