[−][src]Function opencv::ximgproc::compute_bad_pixel_percent
pub fn compute_bad_pixel_percent(
gt: &dyn ToInputArray,
src: &dyn ToInputArray,
roi: Rect,
thresh: i32
) -> Result<f64>
Function for computing the percent of "bad" pixels in the disparity map (pixels where error is higher than a specified threshold)
Parameters
-
GT: ground truth disparity map
-
src: disparity map to evaluate
-
ROI: region of interest
-
thresh: threshold used to determine "bad" pixels
@result returns mean square error between GT and src
C++ default parameters
- thresh: 24