How to convert an image from CV_8UC1 to CV_32FC1 type in opencv?
Because displayable range for 32FC type element images is [0:1] (for imshow). Try this.
Image.convertTo(Image,CV_32FC1, 1.0/255.0);
Because displayable range for 32FC type element images is [0:1] (for imshow). Try this.
Image.convertTo(Image,CV_32FC1, 1.0/255.0);