pub struct SelectTuning {
pub left_frac: f64,
pub min_outlier: f64,
pub min_left_density: f64,
pub select_candidate_frac: f64,
pub min_confidence: f64,
}Expand description
Knobs for select_park_frame. Distinct from ParkTuning: selection scores against
the per-burst MEDIAN (not the live EMA), so its cutoffs differ. No defaults — every knob
is supplied by the caller (it depends on camera/printer placement).
Fields§
§left_frac: f64Park zone = the left this-fraction of the frame.
min_outlier: f64The park’s left-mass must exceed this × the burst-median left-mass (relative outlier).
min_left_density: f64…and be at least this mean darkness (0–255) over the park zone (absolute floor).
select_candidate_frac: f64Among frames with left-mass ≥ this × the burst max, pick the sharpest.
min_confidence: f64Reject the pick (skip the layer) below this confidence.
Trait Implementations§
Source§impl Clone for SelectTuning
impl Clone for SelectTuning
Source§fn clone(&self) -> SelectTuning
fn clone(&self) -> SelectTuning
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 moreimpl Copy for SelectTuning
Source§impl Debug for SelectTuning
impl Debug for SelectTuning
Source§impl<'de> Deserialize<'de> for SelectTuning
impl<'de> Deserialize<'de> for SelectTuning
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SelectTuning
impl PartialEq for SelectTuning
Source§fn eq(&self, other: &SelectTuning) -> bool
fn eq(&self, other: &SelectTuning) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SelectTuning
impl Serialize for SelectTuning
impl StructuralPartialEq for SelectTuning
Auto Trait Implementations§
impl Freeze for SelectTuning
impl RefUnwindSafe for SelectTuning
impl Send for SelectTuning
impl Sync for SelectTuning
impl Unpin for SelectTuning
impl UnsafeUnpin for SelectTuning
impl UnwindSafe for SelectTuning
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