pub struct SiftParams {
pub scales_per_octave: usize,
pub sigma: f64,
pub initial_blur: f64,
pub contrast_threshold: f64,
pub edge_threshold: f64,
pub max_octaves: Option<usize>,
}Expand description
SIFT parameters.
Fields§
§scales_per_octave: usizeScale steps per octave (3 in Lowe’s paper).
sigma: f64Base blur σ₀ of each octave (1.6).
initial_blur: f64Blur assumed already present in the input (0.5).
contrast_threshold: f64Minimum DoG magnitude (after normalising the image to [0, 1]) of a refined keypoint,
scaled by 1 / scales_per_octave (0.04).
edge_threshold: f64Principal-curvature ratio limit for rejecting edge responses (10).
max_octaves: Option<usize>Maximum number of octaves; None uses as many as fit (down to 16-pixel images).
Trait Implementations§
Source§impl Clone for SiftParams
impl Clone for SiftParams
Source§impl Debug for SiftParams
impl Debug for SiftParams
Source§impl Default for SiftParams
impl Default for SiftParams
Source§impl PartialEq for SiftParams
impl PartialEq for SiftParams
impl StructuralPartialEq for SiftParams
Auto Trait Implementations§
impl Freeze for SiftParams
impl RefUnwindSafe for SiftParams
impl Send for SiftParams
impl Sync for SiftParams
impl Unpin for SiftParams
impl UnsafeUnpin for SiftParams
impl UnwindSafe for SiftParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more