You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attempting RGBA/BGRA to Gray color conversion results in an error. ERROR: Invalid convert color code: 10
Steps/Code to reproduce bug
Call cvcudaCvtColorSubmit with either NVCV_COLOR_BGRA2GRAY or NVCV_COLOR_RGBA2GRAY as the last parameter.
Expected behavior
The color conversion works as expected.
Additional context
in the file cvt_color.cu there exists a color conversion function table. It appears that the functions for BGRA_to_GRAY and RGBA_to_GRAY are disabled even though there is code to handle them in the BGR_to_GRAY function.
Describe the bug
Attempting RGBA/BGRA to Gray color conversion results in an error.
ERROR: Invalid convert color code: 10
Steps/Code to reproduce bug
Call cvcudaCvtColorSubmit with either NVCV_COLOR_BGRA2GRAY or NVCV_COLOR_RGBA2GRAY as the last parameter.
Expected behavior
The color conversion works as expected.
Additional context
in the file cvt_color.cu there exists a color conversion function table. It appears that the functions for BGRA_to_GRAY and RGBA_to_GRAY are disabled even though there is code to handle them in the BGR_to_GRAY function.
There are no comments or error messages to suggest that these have been intentionally disabled.
The text was updated successfully, but these errors were encountered: