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: f32§threshold_off: f32§local_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: f32§context_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§
source§impl SegmentationParameters
impl SegmentationParameters
pub fn default() -> Result<SegmentationParameters>
Trait Implementations§
source§impl Clone for SegmentationParameters
impl Clone for SegmentationParameters
source§fn clone(&self) -> SegmentationParameters
fn clone(&self) -> SegmentationParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SegmentationParameters
impl Debug for SegmentationParameters
source§impl PartialEq<SegmentationParameters> for SegmentationParameters
impl PartialEq<SegmentationParameters> for SegmentationParameters
source§fn eq(&self, other: &SegmentationParameters) -> bool
fn eq(&self, other: &SegmentationParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.