Skip to content

Commit bea312b

Browse files
authored
Merge pull request opencv#13183 from tomoaki0705:fixCaroteneColorConvert2Gray
2 parents 3705648 + 3bbc4e4 commit bea312b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

3rdparty/carotene/src/colorconvert.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ namespace {
4949

5050
enum
5151
{
52-
SHIFT = 14,
52+
SHIFT = 15,
5353
SHIFT_DELTA = 1 << (SHIFT - 1),
5454

55-
R2Y_BT601 = 4899,
56-
G2Y_BT601 = 9617,
57-
B2Y_BT601 = 1868,
55+
R2Y_BT601 = 9798,
56+
G2Y_BT601 = 19235,
57+
B2Y_BT601 = 3735,
5858

5959
R2Y_BT709 = 3483,
6060
G2Y_BT709 = 11718,

0 commit comments

Comments
 (0)