Ask Your Question

Revision history [back]

How to store CV_16UC1 image on hard disk?

Hi,

Could someone please let me know how can I store CV_16UC1 image using opencv? Is there a function which can be used? One way is, covert the image to CV_8UC1 and store it on hard disk using cv::imwrite() function. But doing that will result in loss of information. Hence, I do not want to convert the image.

In my case, I have depth image available from kinect v2 and I want to store it on hard disk.

Thank you!