RGB -> YCrCb conversion equation incorrect (Bug #2725)


Added by Warren James about 12 years ago. Updated about 12 years ago.


Status:Done Start date:2013-01-22
Priority:Normal Due date:
Assignee:Daniil Osokin % Done:

0%

Category:documentation
Target version:2.4.4 Estimated time:1.00 hour
Affected version:2.4.3 Operating System:
Difficulty: HW Platform:
Pull request:https://github.com/Itseez/opencv/pull/348

Description

In the documentation under the conversion explanation for the RGB > YCrCb conversion the equation given for G is
G <
Y - 0.344(Cr-delta) - 0.714(Cb-delta)

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

Revision 4c9c27b2
Added by Daniil Osokin about 12 years ago

Fixed formula of YCrCb to RGB conversion (bug #2725)

Revision ea5b411c
Added by Roman Donchenko almost 11 years ago

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 Andrey Kamaev about 12 years ago

Fix is pushed to 2.4

  • Status changed from Open to Done

Updated by Kirill Kornyakov about 12 years ago

  • Target version set to 2.4.4

Also available in: Atom PDF