pub fn patch_error( a: Gray<'_>, b: Gray<'_>, dx: f64, dy: f64, r: Rect, step: usize, ) -> PatchError
Clipped robust error of b against a shifted by (dx, dy), sampled every step pixels inside r.
b
a
step
r