Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SlidingStripeAverage< SW > Class Template Reference

Stripe window for computing averages. More...

#include <FastAverageOp.h>

Inheritance diagram for SlidingStripeAverage< SW >:
Inheritance graph
[legend]
Collaboration diagram for SlidingStripeAverage< SW >:
Collaboration graph
[legend]

Public Types

typedef float value_t
 

Public Member Functions

 SlidingStripeAverage (int size=1)
 

Protected Member Functions

virtual void initialize ()
 
virtual void clear ()
 
virtual void addPixel (Point2D< int > &p)
 
virtual void removePixel (Point2D< int > &p)
 
virtual void write ()
 
virtual void setImageLimits () const
 

Protected Attributes

value_t sum
 
unsigned int count
 
drain::ValueScaling scaling
 

Detailed Description

template<class SW>
class drain::image::SlidingStripeAverage< SW >

Stripe window for computing averages.

Template Parameters
SW- SlidingStripeHorz or SlidingStripeVert

Member Function Documentation

◆ initialize()

virtual void initialize ( )
inlineprotectedvirtual

TODO: weight = > weightSUm TODO: multiple channels (banks)?

Reimplemented in SlidingStripeAverageWeighted< SW >.


The documentation for this class was generated from the following file: