1 | initial version |
you can store is as .png
:
Mat u16 = ...
imwrite("some.png", u16);
and later read back:
Mat u16 = imread("some.png", IMREAD_ANYDEPTH);
2 | No.2 Revision |
you can store is as .png
: (which supports 16bit images):
Mat u16 = ...
imwrite("some.png", u16);
and later read back:
Mat u16 = imread("some.png", IMREAD_ANYDEPTH);