pub struct BoxFitParams {
pub min_points: usize,
pub outlier_mads: f64,
pub extent_quantile: f64,
}Expand description
Robustness settings of fit_upright_box.
Fields§
§min_points: usizePoints needed after outlier removal (6).
outlier_mads: f64Points farther from the median point than this many scaled median absolute deviations are outliers, such as background seen through or beside the object (3).
extent_quantile: f64Extents are taken between this fraction and one minus it of the points along each axis (0.02), so a few stray points do not inflate the box.
Trait Implementations§
Source§impl Clone for BoxFitParams
impl Clone for BoxFitParams
impl Copy for BoxFitParams
Source§impl Debug for BoxFitParams
impl Debug for BoxFitParams
Source§impl Default for BoxFitParams
impl Default for BoxFitParams
Source§impl PartialEq for BoxFitParams
impl PartialEq for BoxFitParams
impl StructuralPartialEq for BoxFitParams
Auto Trait Implementations§
impl Forget for BoxFitParams
impl Freeze for BoxFitParams
impl Move for BoxFitParams
impl RefUnwindSafe for BoxFitParams
impl Send for BoxFitParams
impl Sync for BoxFitParams
impl Unpin for BoxFitParams
impl UnsafeUnpin for BoxFitParams
impl UnwindSafe for BoxFitParams
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,
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.