• zhijackchen's avatar
    Merge pull request #10283 from zhijackchen:exr_export · 6df8ac03
    zhijackchen authored
    * 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
    6df8ac03
Name
Last commit
Last update
..
calib3d Loading commit data...
core Loading commit data...
cudaarithm Loading commit data...
cudabgsegm Loading commit data...
cudacodec Loading commit data...
cudafeatures2d Loading commit data...
cudafilters Loading commit data...
cudaimgproc Loading commit data...
cudalegacy Loading commit data...
cudaobjdetect Loading commit data...
cudaoptflow Loading commit data...
cudastereo Loading commit data...
cudawarping Loading commit data...
cudev Loading commit data...
dnn Loading commit data...
features2d Loading commit data...
flann Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
js Loading commit data...
ml Loading commit data...
objdetect Loading commit data...
photo Loading commit data...
python Loading commit data...
shape Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...