Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cuda stereoBM , some class poperty was not use

here I have use GPU to accelerate stereoBM , but the result was not same as cpu. And I read the original source (opencv-3.4.0/modules/cudastereo/src/stereobm.cpp), I find that some param was not use in cuda stereoBM, such as MinDisparity, UniquenessRatio and so on , there was not function to setting this param value, is this a source code bug?

here is UniquenessRatio property set and get, and it also default zero.

int getUniquenessRatio() const { return 0; } void setUniquenessRatio(int /uniquenessRatio/) {}