RFC: OpenJPEG based Jpeg2000 encoder#16524
Closed
StefanBruens wants to merge 6 commits intoopencv:masterfrom
Closed
RFC: OpenJPEG based Jpeg2000 encoder#16524StefanBruens wants to merge 6 commits intoopencv:masterfrom
StefanBruens wants to merge 6 commits intoopencv:masterfrom
Conversation
Currently, the following input color spaces and depth conversions are supported: - 8 bit -> 8 bit - 16 bit -> 16 bit (IMREAD_UNCHANGED, IMREAD_ANYDEPTH) - RGB(a) -> BGR - RGBA -> BGRA (IMREAD_UNCHANGED) - Y(a) -> Y(a) (IMREAD_ANYCOLOR, IMREAD_GRAY, IMREAD_UNCHANGED)) - YCC -> Y (IMREAD_GRAY)
Member
|
Please continue working in this PR: #16494 |
This enables OpenJPEG based JPEG2000 imread support by default, which can be disabled by -DWITH_OPENJPEG=OFF. In case OpenJPEG is enabled and found, any checks for Jasper are skipped.
…ANGED With IMREAD_UNCHANGED, values are kept from the input image, without it components are downscaled to CV_8U range.
Support IMREAD_GRAY when input color space is RGB or unspecified. Support YUV input color space for BGR output.
ece8665 to
08e1b92
Compare
Images with depth CV_8U and CV_16U are supported, with 1 to 4 channels.
08e1b92 to
d771046
Compare
Member
|
see #16494 |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Encoder part
This goes on top of #16494