提交 aedf5640 编写于 作者: K Kirill Kornyakov

made imread description slightly better #2406

上级 5b2271c6
......@@ -14,7 +14,7 @@ The description here was tested on Windows 7 SP1. Nevertheless, it should also w
Installation by Using the Pre-built Libraries
=============================================
#. Launch a web browser of choice and go to our `page on Sourceforge <http://sourceforge.net/projects/opencvlibrary/files/opencv-win/>`_
#. Launch a web browser of choice and go to our `page on Sourceforge <http://sourceforge.net/projects/opencvlibrary/files/opencv-win/>`_.
#. Choose a build you want to use and download it.
......
......@@ -81,12 +81,12 @@ Loads an image from a file.
CV_LOAD_IMAGE_GRAYSCALE
* **>0** Return a 3-channel color image
* **>0** Return a 3-channel color image.
.. note:: In the current implementation the alpha channel, if any, is stripped from the output image. Use negative value if you need the alpha channel.
* **=0** Return a grayscale image
* **=0** Return a grayscale image.
* **<0** Return the loaded image as is.
.. note:: In the current implementation the alpha channel, if any, is stripped from the output image.
* **<0** Return the loaded image as is (with alpha channel).
The function ``imread`` loads an image from the specified file and returns it. If the image cannot be read (because of missing file, improper permissions, unsupported or invalid format), the function returns an empty matrix ( ``Mat::data==NULL`` ). Currently, the following file formats are supported:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册