Merged
Conversation
…mat. There are compression modes other than the default that are more suited for certain data. Mainly grainy/noisy data.
5 tasks
alalek
reviewed
Feb 16, 2021
650d8db to
a89b0d3
Compare
alalek
reviewed
Feb 16, 2021
a89b0d3 to
93db5c8
Compare
alalek
reviewed
Feb 16, 2021
Comment on lines
+114
to
+125
| enum ImwriteEXRCompressionFlags { | ||
| IMWRITE_EXR_COMPRESSION_NO = 0, //!< no compression | ||
| IMWRITE_EXR_COMPRESSION_RLE = 1, //!< run length encoding | ||
| IMWRITE_EXR_COMPRESSION_ZIPS = 2, //!< zlib compression, one scan line at a time | ||
| IMWRITE_EXR_COMPRESSION_ZIP = 3, //!< zlib compression, in blocks of 16 scan lines | ||
| IMWRITE_EXR_COMPRESSION_PIZ = 4, //!< piz-based wavelet compression | ||
| IMWRITE_EXR_COMPRESSION_PXR24 = 5, //!< lossy 24-bit float compression | ||
| IMWRITE_EXR_COMPRESSION_B44 = 6, //!< lossy 4-by-4 pixel block compression, fixed compression rate | ||
| IMWRITE_EXR_COMPRESSION_B44A = 7, //!< lossy 4-by-4 pixel block compression, flat fields are compressed more | ||
| IMWRITE_EXR_COMPRESSION_DWAA = 8, //!< lossy DCT based compression, in blocks of 32 scanlines. More efficient for partial buffer access. | ||
| IMWRITE_EXR_COMPRESSION_DWAB = 9, //!< lossy DCT based compression, in blocks of 256 scanlines. More efficient space wise and faster to decode full frames than DWAA_COMPRESSION. | ||
| }; |
Member
There was a problem hiding this comment.
Please fix indentation here too.
Contributor
Author
There was a problem hiding this comment.
I aligned indentation with other enums in header. It's strange, but enum keys has 7 spaces indentation.
93db5c8 to
1e4042b
Compare
Merged
4 tasks
a-sajjad72
pushed a commit
to a-sajjad72/opencv
that referenced
this pull request
Mar 30, 2023
…_options OpenEXR compression options * Adding possibility to select the compression type for the OpenEXR format. There are compression modes other than the default that are more suited for certain data. Mainly grainy/noisy data. * Code review fixes. Co-authored-by: Daniel Rydstrom <daniel.rydstrom@sick.se>
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.
Replaces abandoned PR #19295
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.