pub fn describe_corners(
img: &[u8],
w: usize,
h: usize,
radius: u32,
corners: Vec<Corner>,
method: Option<OrientationMethod>,
) -> Vec<CornerDescriptor>Expand description
Convert raw corner candidates into full descriptors by sampling the
source image and running the chosen OrientationMethod at each
corner.
Orientation and polarity follow the conventions documented on
CornerDescriptor. When method is
Some(OrientationMethod::DiskFit) and the candidate count exceeds
an internal cap, only the strongest candidates run the full-disk
estimator; the rest fall back to ring-fit transparently.
When method is None the orientation fit is skipped entirely — no
ring is sampled and no model is fit — and every descriptor carries
axes: None. This is the cheaper fast path: it does strictly less work
(no per-corner ring buffer, no full-disk candidate mask) than any fitted
method.