pub struct AveragedTimeSurface { /* private fields */ }Expand description
Averaged time surface (HATS-style): where super::TimeSurface keeps only each pixel’s
latest exponential response, this averages exp(-age / τ) over all events that hit
the pixel, so recurring activity reads brighter than a single stale hit. Two channels
(positive / negative), f32, each pixel the mean response of its events (0 where none).
Implementations§
Trait Implementations§
Source§impl Clone for AveragedTimeSurface
impl Clone for AveragedTimeSurface
Source§fn clone(&self) -> AveragedTimeSurface
fn clone(&self) -> AveragedTimeSurface
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AveragedTimeSurface
Source§impl Debug for AveragedTimeSurface
impl Debug for AveragedTimeSurface
Source§impl Default for AveragedTimeSurface
impl Default for AveragedTimeSurface
Source§impl Representation for AveragedTimeSurface
impl Representation for AveragedTimeSurface
type Output = EventFrame
fn generate( &self, stream: &EventStream, ) -> Result<EventFrame, RepresentationError>
Auto Trait Implementations§
impl Freeze for AveragedTimeSurface
impl RefUnwindSafe for AveragedTimeSurface
impl Send for AveragedTimeSurface
impl Sync for AveragedTimeSurface
impl Unpin for AveragedTimeSurface
impl UnsafeUnpin for AveragedTimeSurface
impl UnwindSafe for AveragedTimeSurface
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more