Struct opencv::bioinspired::SegmentationParameters
source · #[repr(C)]pub struct SegmentationParameters {
pub threshold_on: f32,
pub threshold_off: f32,
pub local_energy_temporal_constant: f32,
pub local_energy_spatial_constant: f32,
pub neighborhood_energy_temporal_constant: f32,
pub neighborhood_energy_spatial_constant: f32,
pub context_energy_temporal_constant: f32,
pub context_energy_spatial_constant: f32,
}Expand description
parameter structure that stores the transient events detector setup parameters
Fields
threshold_on: f32threshold_off: f32local_energy_temporal_constant: f32the time constant of the first order low pass filter, use it to cut high temporal frequencies (noise or fast motion), unit is frames, typical value is 0.5 frame
local_energy_spatial_constant: f32the spatial constant of the first order low pass filter, use it to cut high spatial frequencies (noise or thick contours), unit is pixels, typical value is 5 pixel
neighborhood_energy_temporal_constant: f32local neighborhood energy filtering parameters : the aim is to get information about the energy neighborhood to perform a center surround energy analysis
neighborhood_energy_spatial_constant: f32context_energy_temporal_constant: f32context neighborhood energy filtering parameters : the aim is to get information about the energy on a wide neighborhood area to filtered out local effects
context_energy_spatial_constant: f32Implementations
sourceimpl SegmentationParameters
impl SegmentationParameters
pub fn default() -> Result<SegmentationParameters>
Trait Implementations
sourceimpl Clone for SegmentationParameters
impl Clone for SegmentationParameters
sourcefn clone(&self) -> SegmentationParameters
fn clone(&self) -> SegmentationParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SegmentationParameters
impl Debug for SegmentationParameters
sourceimpl PartialEq<SegmentationParameters> for SegmentationParameters
impl PartialEq<SegmentationParameters> for SegmentationParameters
sourcefn eq(&self, other: &SegmentationParameters) -> bool
fn eq(&self, other: &SegmentationParameters) -> bool
impl Copy for SegmentationParameters
impl StructuralPartialEq for SegmentationParameters
Auto Trait Implementations
impl RefUnwindSafe for SegmentationParameters
impl Send for SegmentationParameters
impl Sync for SegmentationParameters
impl Unpin for SegmentationParameters
impl UnwindSafe for SegmentationParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more