Ask Your Question

Reading and re sizing a raw 32 bit float image in c with opencv

asked 2014-07-31 06:09:22 -0500

Hello I am new to open cv.

I am sure sure how to read a float raw image with open CV and then re sizing it.

Any help will be appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-31 07:51:18 -0500

updated 2014-07-31 07:53:07 -0500

I have no idea why anyone would like to do this in the old and depricated C-API, nor have I the idea if this extra constant is even available in C-API. If you use the now actively developed C++ API this should do it

Mat image = imread("/data/test.tif", CV_LOAD_IMAGE_ANYDEPTH);

It reads images with 16/32 bit depth and it is available in OpenCV 2.4.9.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2014-07-31 06:09:22 -0500

Seen: 293 times

Last updated: Jul 31 '14