Incorrect conversion format in example (CV_BGR2GREY) (Bugfix #2724)
Description
On the Operations with images page in the Visualizing images section (http://docs.opencv.org/doc/user_guide/ug_mat.html#visualizing-images), the following code may be found:
Mat img = imread("image.jpg"); Mat grey; cvtColor(img, grey, CV_BGR2GREY);
CV_BGR2GREY is not a format - it should be CV_BGR2GRAY.
Associated revisions
Merge pull request #2724 from znah:python_autowrap
History
Updated by Maria Dimashova about 12 years ago
Andy, thanks for the report! Can you please fix this problem and submit a pull request to OpenCV repo here https://github.com/Itseez/opencv. It's easy and it's also the fastest way to push your fixes/features to OpenCV.
Updated by Andy Maloney about 12 years ago
Done. Thanks!
Updated by Maria Dimashova about 12 years ago
- Status changed from Open to Done