Struct opencv::bioinspired::SegmentationParameters[][src]

#[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: f32

the 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: f32

the 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: f32

local 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: f32

context 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: f32

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.