-
-
Notifications
You must be signed in to change notification settings - Fork 56.4k
YUV codes for cvtColor: descriptions added #25616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| COLOR_YUV2GRAY_UYVY = 123, //!< extract channel from YUV 4:2:2 image | ||
| COLOR_YUV2GRAY_YUY2 = 124, //!< extract channel from YUV 4:2:2 image | ||
| //CV_YUV2GRAY_VYUY = CV_YUV2GRAY_UYVY, //!< synonym to COLOR_YUV2GRAY_UYVY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it commented?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea, tracks lead to the original code from 2012. Maybe it didn't work properly then.
If we want to enable it back, we need a separate PR.
asmorkalov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR contains descriptions for various RGB <-> YUV color conversion codes as well as detailed comments in the source code.
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.