Ask Your Question
0

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

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

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
2

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

updated 2014-07-31 07:53:07 -0600

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

Question Tools

Stats

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

Seen: 915 times

Last updated: Jul 31 '14