Skip to content

Commit

Permalink
small correction in Py tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
abidrahmank committed Nov 6, 2013
1 parent 03bbee3 commit 8bba305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/py_tutorials/py_gui/py_image_display/py_image_display.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Use the function **cv2.imread()** to read an image. The image should be in the w

Second argument is a flag which specifies the way image should be read.

* cv2.CV_LOAD_IMAGE_COLOR : Loads a color image. Any transparency of image will be neglected. It is the default flag.
* cv2.CV_LOAD_IMAGE_GRAYSCALE : Loads image in grayscale mode
* cv2.CV_LOAD_IMAGE_UNCHANGED : Loads image as such including alpha channel
* cv2.IMREAD_COLOR : Loads a color image. Any transparency of image will be neglected. It is the default flag.
* cv2.IMREAD_GRAYSCALE : Loads image in grayscale mode
* cv2.IMREAD_UNCHANGED : Loads image as such including alpha channel

.. note:: Instead of these three flags, you can simply pass integers 1, 0 or -1 respectively.

Expand Down

0 comments on commit 8bba305

Please sign in to comment.