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/) {}