Skip to main content

Module refine

Module refine 

Source
Expand description

Pluggable subpixel-refinement backends.

All refiners implement the CornerRefiner trait and are addressed through the user-facing RefinerKind enum. Default settings preserve the historical center-of-mass behaviour.

  • center_of_mass — legacy 5×5 weighted centroid on the response map. Cheap; the default.
  • forstner — gradient structure-tensor refinement on the image intensity patch.
  • saddle_point — quadratic surface fit, robust to mild blur.
  • radon_peak — Radon-projection refiner along candidate axes; robust to blur and low contrast.

Re-exports§

pub use center_of_mass::CenterOfMassConfig;
pub use center_of_mass::CenterOfMassRefiner;
pub use forstner::ForstnerConfig;
pub use forstner::ForstnerRefiner;
pub use radon_peak::RadonPeakConfig;
pub use radon_peak::RadonPeakRefiner;
pub use saddle_point::SaddlePointConfig;
pub use saddle_point::SaddlePointRefiner;

Modules§

center_of_mass
Center-of-mass refiner: 5×5 weighted centroid on the response map.
forstner
Förstner-style gradient-based subpixel refinement.
radon_peak
Local Radon-peak subpixel refiner.
saddle_point
Saddle-point quadratic-surface refiner.

Structs§

RefineContext
Inputs shared by refinement methods.
RefineResult
Result of refining a single corner candidate.

Enums§

RefineStatus
Status of a refinement attempt.
Refiner
Runtime refiner with reusable scratch buffers.
RefinerKind
User-facing enum selecting a refinement backend.

Traits§

CornerRefiner
Trait implemented by pluggable refinement backends.