description of imread is unclear (probably a bug in document generation) (Bug #8)


Added by Victor Eruhimov over 15 years ago. Updated over 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

Category:documentation
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Here is the description of the 'flags' parameter for imread function:

flags – Specifies color type of the loaded image: if :math:$>$@0, the loaded image is forced to be a 3-channel color image; if 0, the loaded image is forced to be grayscale; if :math:$<$@0, the loaded image will be loaded as is (note that in the current implementation the alpha channel, if any, is stripped from the output image, e.g. 4-channel RGBA image will be loaded as RGB).

I guess this stuff with $ should not be there. And it's totally unclear how to load a greyscale.


Related issues

precedes (1 day) Bug #2980: opencv-2.4.5 git build broken for grfmt_webp.cpp Cancelled

Associated revisions

Revision 4d9c0aef
Added by Marina Kolpakova over 12 years ago

Merge pull request #8 from branch jet47:tvl1-opt-flow

History

Updated by Vadim Pisarevsky over 15 years ago

fixed in SVN 2360

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF