Loading...
Searching...
No Matches
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.
 

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

◆ addDown()

template<class C >
virtual void addDown ( int  i,
double  value,
double  weight 
)
pure virtual

When traversing down or right, add a encoded value to bucket in position i.

Implemented in ImpulseAvg, and DopplerAvg.

◆ addLeft()

template<class C >
virtual void addLeft ( int  i,
double  value,
double  weight 
)
pure virtual

When traversing up or left, add a encoded value to bucket in position i.

Implemented in ImpulseAvg, and DopplerAvg.

◆ addRight()

template<class C >
virtual void addRight ( int  i,
double  value,
double  weight 
)
pure virtual

When traversing down or right, add a encoded value to bucket in position i.

Implemented in ImpulseAvg, and DopplerAvg.

◆ addUp()

template<class C >
virtual void addUp ( int  i,
double  value,
double  weight 
)
pure virtual

When traversing up or left, add a encoded value to bucket in position i.

Implemented in ImpulseAvg, and DopplerAvg.

◆ get()

template<class C >
virtual double get ( int  i)
pure virtual

Return natural (not encoded) value at position i.

Implemented in ImpulseAvg, and DopplerAvg.

◆ getWeight()

template<class C >
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 ImpulseAvg, and DopplerAvg.

◆ init()

template<class C >
virtual void init ( const Channel src,
bool  horizontal = true 
)
inlinevirtual

Adapt to input geometry, type, and scaling.

Reimplemented in ImpulseAvg, and DopplerAvg.

◆ reset()

template<class C >
virtual void reset ( )
pure virtual

Clear statistics before traversing each row or column.

Implemented in ImpulseAvg, and DopplerAvg.


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