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.
Adding some color conversion code alias same as https://github.com/opencv/opencv/blob/850be1e0874a4881b94392773d2f1702344658ac/modules/imgproc/include/opencv2/imgproc.hpp#L536
This change helps with code readability especially for demosaicing.
I left out other alias in the hpp file for now as they seem to be addressing only different naming in YUV format.
The only caveat to this change may be that the
String
function forColorConversionCode
in https://github.com/hybridgroup/gocv/blob/e2db8f81cfce48d9b2c2d4ce92219a7a4a021bfe/imgproc_colorcodes_string.go can return a different name for a constant, but it should be an ok compromise.