pub struct OrbOptions {
pub max_features: usize,
pub scale_factor: f32,
pub levels: usize,
pub edge_threshold: usize,
pub fast_threshold: u8,
pub patch_size: usize,
pub score_type: OrbScoreType,
}Expand description
Multi-scale ORB detector and descriptor configuration.
Fields§
§max_features: usizeMaximum number of descriptor rows across every pyramid level.
scale_factor: f32Scale multiplier between adjacent levels; must be greater than one.
levels: usizeNumber of pyramid levels.
edge_threshold: usizeMinimum distance from a level-image edge.
fast_threshold: u8FAST intensity threshold.
patch_size: usizeOdd intensity-centroid and descriptor patch diameter.
score_type: OrbScoreTypeCandidate ranking response.
Trait Implementations§
Source§impl Clone for OrbOptions
impl Clone for OrbOptions
Source§fn clone(&self) -> OrbOptions
fn clone(&self) -> OrbOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrbOptions
impl Debug for OrbOptions
Source§impl Default for OrbOptions
impl Default for OrbOptions
Source§impl PartialEq for OrbOptions
impl PartialEq for OrbOptions
Source§fn eq(&self, other: &OrbOptions) -> bool
fn eq(&self, other: &OrbOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OrbOptions
impl StructuralPartialEq for OrbOptions
Auto Trait Implementations§
impl Freeze for OrbOptions
impl RefUnwindSafe for OrbOptions
impl Send for OrbOptions
impl Sync for OrbOptions
impl Unpin for OrbOptions
impl UnsafeUnpin for OrbOptions
impl UnwindSafe for OrbOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more