Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

flag to load float 32-bit image

Hi,

I am trying to read a float 32-bit image in c++. For that, i use the following code :

cv::Mat Dark_Image = cv::imread("/home/jetson/Documents/flat_fiel_correction/Dark_image.tif", cv::IMREAD_ANYDEPTH);

The image is loaded in 8-bit, and not in 32-bits .. The flag doesn't work. Any idea ..?

Thank you !