pub struct StereoAdaptiveDepthGateConfig {
pub min_candidate_count: usize,
pub depth_quantile: f64,
pub depth_quantile_scale: f64,
pub min_depth_floor_m: f64,
pub max_adaptive_min_depth_m: f64,
pub disparity_noise_px: f64,
pub max_relative_depth_uncertainty: f64,
pub hysteresis_ratio: f64,
}Expand description
Configuration for StereoDepthGate::Adaptive.
Fields§
§min_candidate_count: usizeMinimum number of geometrically plausible stereo candidates required before the adaptive policy replaces the fixed lower-depth gate.
depth_quantile: f64Lower quantile of the per-frame depth distribution used as the scene scale anchor. Values near 0.2 ignore sparse near-field outliers while still following close-approach scenes.
depth_quantile_scale: f64Multiplier applied to depth_quantile before bounding. Values below
one keep points slightly nearer than the robust scene-scale anchor.
min_depth_floor_m: f64Absolute safety floor for the effective lower-depth gate.
max_adaptive_min_depth_m: f64Absolute safety ceiling for the effective lower-depth gate. This keeps automotive/hall-scale scenes close to the historical 3 m behavior.
disparity_noise_px: f64Assumed 1-sigma disparity noise. Combined with
max_relative_depth_uncertainty to reject far-field samples whose
stereo depth is dominated by disparity noise.
max_relative_depth_uncertainty: f64Maximum accepted relative depth uncertainty implied by disparity noise:
sigma_z / z ~= sigma_disparity / disparity.
hysteresis_ratio: f64Fractional hysteresis band around the previous effective gate. Proposed updates inside this band keep the prior gate to prevent frame-to-frame threshold chatter.
Trait Implementations§
Source§impl Clone for StereoAdaptiveDepthGateConfig
impl Clone for StereoAdaptiveDepthGateConfig
Source§fn clone(&self) -> StereoAdaptiveDepthGateConfig
fn clone(&self) -> StereoAdaptiveDepthGateConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for StereoAdaptiveDepthGateConfig
Source§impl Default for StereoAdaptiveDepthGateConfig
impl Default for StereoAdaptiveDepthGateConfig
Source§fn default() -> StereoAdaptiveDepthGateConfig
fn default() -> StereoAdaptiveDepthGateConfig
impl StructuralPartialEq for StereoAdaptiveDepthGateConfig
Auto Trait Implementations§
impl Forget for StereoAdaptiveDepthGateConfig
impl Freeze for StereoAdaptiveDepthGateConfig
impl Move for StereoAdaptiveDepthGateConfig
impl RefUnwindSafe for StereoAdaptiveDepthGateConfig
impl Send for StereoAdaptiveDepthGateConfig
impl Sync for StereoAdaptiveDepthGateConfig
impl Unpin for StereoAdaptiveDepthGateConfig
impl UnsafeUnpin for StereoAdaptiveDepthGateConfig
impl UnwindSafe for StereoAdaptiveDepthGateConfig
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.