Public Types | Public Member Functions | List of all members
ImpulseBucket< C > Class Template Referenceabstract

#include <ImpulseResponseOp.h>

Inheritance diagram for ImpulseBucket< C >:
Inheritance graph
[legend]
Collaboration diagram for ImpulseBucket< C >:
Collaboration graph
[legend]

Public Types

typedef C conf_t
 

Public Member Functions

virtual void init (const Channel &src, bool horizontal=true)
 Adapt to input geometry, type, and scaling.
 
virtual void reset ()=0
 Clear statistics before traversing each row or column.
 
virtual void addLeft (int i, double value, double weight)=0
 When traversing up or left, add a encoded value to bucket in position i.
 
virtual void addRight (int i, double value, double weight)=0
 When traversing down or right, add a encoded value to bucket in position i.
 
virtual void addDown (int i, double value, double weight)=0
 When traversing down or right, add a encoded value to bucket in position i.
 
virtual void addUp (int i, double value, double weight)=0
 When traversing up or left, add a encoded value to bucket in position i.
 
virtual double get (int i)=0
 Return natural (not encoded) value at position i.
 
virtual double getWeight (int i)=0
 Return weight at position i. More...
 

Detailed Description

template<class C>
class drain::image::ImpulseBucket< C >

Template Parameters
C- conf type, implementing drain::BeanLike concept (getName, getDescription, getParameters)

Member Function Documentation

◆ getWeight()

virtual double getWeight ( int  i)
pure virtual

Return weight at position i.

Weight should reflect quality, reliability or relevance of the value returned by get(int i).

Implemented in DopplerAvg, and ImpulseAvg.


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