I've been trying to use the applyColormap function. I'm working with a matrix with a datatype of CV_64F. If I apply a color map, the image is still B&W (using imshow). But if I convert the matrix to CV_8U, then apply the color map, it works. This is fine for right now, but later on I will need to apply a color map to a matrix with datatype CV_64F and I will not be able to convert it to CV_8U because it will have negative values and decimal points.
Any suggestions would be greatly appreciated.