pub struct HogLikeFeatureConfig {
pub max_features: usize,
pub min_corner_score: f32,
pub descriptor_clip: f32,
pub orient: bool,
}Expand description
Configuration for HogLikeFeatureExtractor.
Fields§
§max_features: usizeMaximum number of features kept after non-max suppression / scoring.
min_corner_score: f32Minimum corner response. Lower = more candidates.
descriptor_clip: f32Lowe-style descriptor clip threshold (applied after first L2 norm).
orient: boolCompute a dominant gradient orientation per keypoint and bin the
HOG descriptor in that rotated frame, making the descriptor
invariant to in-plane camera rotation (SIFT-style oriented
descriptor). Defaults to false — for forward-driving / static-
up camera setups (KITTI etc.) the per-keypoint dominant
orientation estimate adds variance without providing real
invariance, so the axis-aligned histogram matches better. Enable
it for handheld / rotation-heavy use cases (UAV, cellphone, etc.)
where in-plane rotation between views is a real failure mode.
Trait Implementations§
Source§impl Clone for HogLikeFeatureConfig
impl Clone for HogLikeFeatureConfig
Source§fn clone(&self) -> HogLikeFeatureConfig
fn clone(&self) -> HogLikeFeatureConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HogLikeFeatureConfig
impl Debug for HogLikeFeatureConfig
Source§impl Default for HogLikeFeatureConfig
impl Default for HogLikeFeatureConfig
Source§fn default() -> HogLikeFeatureConfig
fn default() -> HogLikeFeatureConfig
Source§impl PartialEq for HogLikeFeatureConfig
impl PartialEq for HogLikeFeatureConfig
impl StructuralPartialEq for HogLikeFeatureConfig
Auto Trait Implementations§
impl Forget for HogLikeFeatureConfig
impl Freeze for HogLikeFeatureConfig
impl Move for HogLikeFeatureConfig
impl RefUnwindSafe for HogLikeFeatureConfig
impl Send for HogLikeFeatureConfig
impl Sync for HogLikeFeatureConfig
impl Unpin for HogLikeFeatureConfig
impl UnsafeUnpin for HogLikeFeatureConfig
impl UnwindSafe for HogLikeFeatureConfig
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
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> ⓘ
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> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.