Skip to content

Commit 9f5463c

Browse files
committed
Merge pull request opencv#19152 from LupusSanctus:am/color_issue
2 parents de1b919 + 3bc1b53 commit 9f5463c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/imgproc/src/color.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ inline int dstChannels(int code)
104104
return 4;
105105

106106
case COLOR_BGRA2BGR: case COLOR_RGBA2BGR: case COLOR_RGB2BGR:
107+
case COLOR_YUV2RGB: case COLOR_YUV2BGR: case COLOR_RGB2YUV: case COLOR_BGR2YUV:
107108
case COLOR_BGR5652BGR: case COLOR_BGR5552BGR: case COLOR_BGR5652RGB: case COLOR_BGR5552RGB:
108109
case COLOR_GRAY2BGR:
109110
case COLOR_YUV2BGR_NV21: case COLOR_YUV2RGB_NV21: case COLOR_YUV2BGR_NV12: case COLOR_YUV2RGB_NV12:

0 commit comments

Comments
 (0)