Skip to main content

fit_axes_at_point

Function fit_axes_at_point 

Source
pub fn fit_axes_at_point(
    view: ImageView<'_>,
    cx: f32,
    cy: f32,
    radius: u32,
    method: OrientationMethod,
) -> AxisFitResult
Expand description

Sample the 16-point ChESS ring at (cx, cy) with radius and run the chosen orientation method.

(cx, cy) are in the view’s external frame — the view’s origin is applied before sampling, matching ImageView::sample_bilinear.

Useful for orientation estimates at externally-chosen points without running detection.