title: Convert 8 bit image to 32 bit in OpenCV 2
body: <p>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.</p>
  
  <p>Thanks in advance!</p>