Function opencv::imgproc::fit_line [] [src]

pub fn fit_line(points: &Mat, line: &Mat, distType: i32, param: f64, reps: f64, aeps: f64) -> Result<(), String>

fits line to the set of 2D points using M-estimator algorithm