Trait opencv::prelude::ParamGridTrait
source · pub trait ParamGridTrait: ParamGridTraitConst {
fn as_raw_mut_ParamGrid(&mut self) -> *mut c_void;
fn set_min_val(&mut self, val: f64) { ... }
fn set_max_val(&mut self, val: f64) { ... }
fn set_log_step(&mut self, val: f64) { ... }
}
Required Methods§
fn as_raw_mut_ParamGrid(&mut self) -> *mut c_void
Provided Methods§
sourcefn set_min_val(&mut self, val: f64)
fn set_min_val(&mut self, val: f64)
Minimum value of the statmodel parameter. Default value is 0.
sourcefn set_max_val(&mut self, val: f64)
fn set_max_val(&mut self, val: f64)
Maximum value of the statmodel parameter. Default value is 0.
sourcefn set_log_step(&mut self, val: f64)
fn set_log_step(&mut self, val: f64)
Logarithmic step for iterating the statmodel parameter.
The grid determines the following iteration sequence of the statmodel parameter values:
where
is the maximal index satisfying
The grid is logarithmic, so logStep must always be greater than 1. Default value is 1.