Trait adder_codec_rs::framer::scale_intensity::FrameValue
source · pub trait FrameValue {
type Output;
// Required methods
fn get_frame_value(
event: &Event,
source_type: SourceType,
delta_t: DeltaT,
practical_d_max: f32,
delta_t_max: DeltaT,
view_mode: FramedViewMode
) -> Self::Output;
fn max_f32() -> f32;
}
Expand description
A trait for types that can be used as the value of a pixel in a Frame
.
Required Associated Types§
Required Methods§
sourcefn get_frame_value(
event: &Event,
source_type: SourceType,
delta_t: DeltaT,
practical_d_max: f32,
delta_t_max: DeltaT,
view_mode: FramedViewMode
) -> Self::Output
fn get_frame_value( event: &Event, source_type: SourceType, delta_t: DeltaT, practical_d_max: f32, delta_t_max: DeltaT, view_mode: FramedViewMode ) -> Self::Output
Get the frame-normalized intensity value of an event