1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Updated documentation to new "COLOR_" format for color conversion enums.

This commit is contained in:
IanVS
2013-06-05 21:55:56 -04:00
parent 6e119049ce
commit 41fc41829c
5 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -1475,7 +1475,7 @@ Such a scheme makes the memory management robust and efficient at the same time
Mat color;
...
Mat gray(color.rows, color.cols, color.depth());
cvtColor(color, gray, CV_BGR2GRAY);
cvtColor(color, gray, COLOR_BGR2GRAY);
you can simply write: ::
@@ -1483,7 +1483,7 @@ you can simply write: ::
Mat color;
...
Mat gray;
cvtColor(color, gray, CV_BGR2GRAY);
cvtColor(color, gray, COLOR_BGR2GRAY);
because ``cvtColor`` , as well as the most of OpenCV functions, calls ``Mat::create()`` for the output array internally.