[−][src]Function opencv::imgproc::min_enclosing_circle
pub fn min_enclosing_circle(
points: &dyn ToInputArray,
center: &mut Point2f,
radius: &mut f32
) -> Result<()>
Finds a circle of the minimum area enclosing a 2D point set.
The function finds the minimal enclosing circle of a 2D point set using an iterative algorithm.
Parameters
- points: Input vector of 2D points, stored in std::vector<> or Mat
- center: Output center of the circle.
- radius: Output radius of the circle.