opencv/modules/imgcodecs
zhijackchen 6df8ac0342 Merge pull request #10283 from zhijackchen:exr_export
* Fix issue #10114
Convert table change
From:
CV_8U -> HALF
CV_8S -> HALF
CV_16U -> UINT
CV_16S -> UINT
CV_32S -> UINT
CV_32F -> FLOAT
To:
CV_8U -> HALF
CV_8S -> HALF
CV_16U -> UINT
CV_16S -> FLOAT
CV_32S -> FLOAT loss precision
CV_32F -> FLOAT
Signed integer can't be presented well with UINT. Even adjust bias, CV16S and CV32S will be confused when load from exr file.
Also fix CV_8S negative value incorrect bug

* EXR import and export
imread() from EXR returns CV_32F only
imwrite() accepts CV_32 cv::Mat only and stores FLOAT images by default. Add imwrite() flag to store in HALF format.

* fix compiling error

* clean up

* fix EXR import issues
2017-12-15 12:23:44 +03:00
..
include/opencv2 Merge pull request #10283 from zhijackchen:exr_export 2017-12-15 12:23:44 +03:00
misc/java/test Modified java wrapping mechanism 2015-03-02 18:12:30 +03:00
perf Split highgui module to videoio and highgui 2014-07-14 23:16:47 +04:00
src Merge pull request #10283 from zhijackchen:exr_export 2017-12-15 12:23:44 +03:00
test imgcodecs: fix regression 9376 2017-08-29 13:31:26 +03:00
CMakeLists.txt cmake: CMP0022 NEW 2017-08-19 15:15:05 +00:00