Updated by Andrey Kamaev about 13 years ago

In documentation for @StereoBM::operator()@:

> left
*StereoBM::operator()*:
@left
– Left 8-bit single-channel or 3-channel image.
> right – Right image of the same size and the same type as the left one.

one.@
But in the implementation (stereobm.cpp, line 782, version 2.3.1)
> if @if (left0.type() != CV_8UC1 || right0.type() != CV_8UC1)
> CV_Error( CV_StsUnsupportedFormat, "Both input images must have CV_8UC1" ); );@

Back