RGB -> YCrCb conversion equation incorrect (Bug #2725)
Description
In the documentation under the conversion explanation for the RGB > YCrCb conversion the equation given for G is Y - 0.344(Cr-delta) - 0.714(Cb-delta)
G <
I believe this should be
G <- Y - 0.714(Cr-delta) - 0.344(Cb-delta)
I have found this from derivation of the formula myself and confirming with
http://en.wikipedia.org/wiki/YCbCr#ITU-R_BT.601_conversion
Associated revisions
Fixed formula of YCrCb to RGB conversion (bug #2725)
Merge pull request #2725 from SpecLad:merge-2.4
History
Updated by Maria Dimashova about 12 years ago
- Assignee set to Vadim Pisarevsky
- Category set to documentation
Updated by Vadim Pisarevsky about 12 years ago
- Target version deleted ()
Updated by Vadim Pisarevsky about 12 years ago
- Assignee deleted (
Vadim Pisarevsky)
Updated by Daniil Osokin about 12 years ago
- Assignee set to Daniil Osokin
Updated by Daniil Osokin about 12 years ago
- Pull request set to https://github.com/Itseez/opencv/pull/348
Updated by Kirill Kornyakov about 12 years ago
- Target version set to 2.4.4