diff --git a/doc/tutorials/introduction/windows_install/windows_install.rst b/doc/tutorials/introduction/windows_install/windows_install.rst index ca089c4a573dccf919810a9295b58b537379842b..3a73a2b635c7ac55ef49d399327c8aae68c48010 100644 --- a/doc/tutorials/introduction/windows_install/windows_install.rst +++ b/doc/tutorials/introduction/windows_install/windows_install.rst @@ -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 `_ +#. Launch a web browser of choice and go to our `page on Sourceforge `_. #. Choose a build you want to use and download it. diff --git a/modules/highgui/doc/reading_and_writing_images_and_video.rst b/modules/highgui/doc/reading_and_writing_images_and_video.rst index d4b2a1f7390596188b1703da85ad1e344df76994..464479649328862542e959362e0eaf50281ccc93 100644 --- a/modules/highgui/doc/reading_and_writing_images_and_video.rst +++ b/modules/highgui/doc/reading_and_writing_images_and_video.rst @@ -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: