From 5d65d000abfcbf7fb96c07b5a93fcff468fe04ef Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Thu, 24 Jan 2013 10:08:58 -0500 Subject: [PATCH] Docs: Fix invalid conversion format in example (CV_BGR2GREY -> CV_BGR2GRAY) --- doc/user_guide/ug_mat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user_guide/ug_mat.rst b/doc/user_guide/ug_mat.rst index f6474fac11..5fd163053f 100644 --- a/doc/user_guide/ug_mat.rst +++ b/doc/user_guide/ug_mat.rst @@ -144,7 +144,7 @@ A call to ``waitKey()`` starts a message passing cycle that waits for a key stro Mat img = imread("image.jpg"); Mat grey; - cvtColor(img, grey, CV_BGR2GREY); + cvtColor(img, grey, CV_BGR2GRAY); Mat sobelx; Sobel(grey, sobelx, CV_32F, 1, 0);