From 3ab336731086f153d28700df776753d007b2005e Mon Sep 17 00:00:00 2001 From: Daniel Angelov Date: Tue, 27 May 2014 18:09:12 +0100 Subject: [PATCH] Updating missed defines in documentation Updating missed defines in documentation. The new defines (in imgproc.hpp) state they have a prefix of COLOR instead of CV. --- modules/imgproc/doc/miscellaneous_transformations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/doc/miscellaneous_transformations.rst b/modules/imgproc/doc/miscellaneous_transformations.rst index b8e9061dc0..f060300fcd 100644 --- a/modules/imgproc/doc/miscellaneous_transformations.rst +++ b/modules/imgproc/doc/miscellaneous_transformations.rst @@ -115,7 +115,7 @@ If conversion adds the alpha channel, its value will set to the maximum of corre The function can do the following transformations: * - RGB :math:`\leftrightarrow` GRAY ( ``CV_BGR2GRAY, CV_RGB2GRAY, CV_GRAY2BGR, CV_GRAY2RGB`` ) + RGB :math:`\leftrightarrow` GRAY ( ``COLOR_BGR2GRAY, COLOR_RGB2GRAY, COLOR_GRAY2BGR, COLOR_GRAY2RGB`` ) Transformations within RGB space like adding/removing the alpha channel, reversing the channel order, conversion to/from 16-bit RGB color (R5:G6:B5 or R5:G5:B5), as well as conversion to/from grayscale using: .. math::