question: computes disparity using the bm algorithm for a rectified stereo pair . the method executes the bm algorithm on a rectified stereo pair . see the stereo_match.cpp opencv sample on how to prepare images and call the method . note that the method is not constant , thus you should not use the same stereobm instance from within different threads simultaneously . the function is parallelized with the tbb library . concode_field_sep int PREFILTER_NORMALIZED_RESPONSE concode_elem_sep int PREFILTER_XSOBEL concode_elem_sep long nativeObj concode_elem_sep int FISH_EYE_PRESET concode_elem_sep int NARROW_PRESET concode_elem_sep int BASIC_PRESET concode_field_sep long StereoBM_2 concode_elem_sep long StereoBM_1 concode_elem_sep long StereoBM_0 concode_elem_sep void finalize concode_elem_sep void delete concode_elem_sep void compute_0 concode_elem_sep void compute_1
target: void function ( Mat arg0 , Mat arg1 , Mat arg2 ) { compute_1 ( nativeObj , arg0 . nativeObj , arg1 . nativeObj , arg2 . nativeObj ) ; return ; }