#include <ConvolutionAverageOperator.hpp>
Inherits kn::ConvolutionOperator.

Public Member Functions | |
| ConvolutionAverageOperator () | |
| Default constructor. | |
| ConvolutionAverageOperator (const ConvolutionAverageOperator &e) | |
| Constructor by copy. | |
| ~ConvolutionAverageOperator () | |
| Destructor. | |
| void | initialize () |
| Reinitialize the operator. | |
| double | getResult () |
| Getting the result of the operation. | |
| void | operator() (double kernelValue, double imageValue) |
| Insert the computation of a new point of the kernel. | |
| ConvolutionAverageOperator * | clone () const |
| Virtual constructor by copy. | |
Protected Attributes | |
| double | sum |
| sum of the computed values | |
| double | kernelSum |
| sum of the kernel values | |
Definition at line 51 of file ConvolutionAverageOperator.hpp.
| kn::ConvolutionAverageOperator::ConvolutionAverageOperator | ( | ) | [inline] |
| kn::ConvolutionAverageOperator::ConvolutionAverageOperator | ( | const ConvolutionAverageOperator & | e | ) | [inline] |
| kn::ConvolutionAverageOperator::~ConvolutionAverageOperator | ( | ) | [inline] |
| ConvolutionAverageOperator* kn::ConvolutionAverageOperator::clone | ( | ) | const [inline, virtual] |
Virtual constructor by copy.
Implements kn::ConvolutionOperator.
Definition at line 113 of file ConvolutionAverageOperator.hpp.
| double kn::ConvolutionAverageOperator::getResult | ( | ) | [inline, virtual] |
Getting the result of the operation.
| ImageException | kernel sum null |
Implements kn::ConvolutionOperator.
Definition at line 95 of file ConvolutionAverageOperator.hpp.
| void kn::ConvolutionAverageOperator::initialize | ( | ) | [inline, virtual] |
Reinitialize the operator.
Implements kn::ConvolutionOperator.
Definition at line 86 of file ConvolutionAverageOperator.hpp.
| void kn::ConvolutionAverageOperator::operator() | ( | double | kernelValue, | |
| double | imageValue | |||
| ) | [inline, virtual] |
Insert the computation of a new point of the kernel.
| kernelValue | the value of the kernel point | |
| imageValue | the value of the corresponding image point |
Implements kn::ConvolutionOperator.
Definition at line 105 of file ConvolutionAverageOperator.hpp.
double kn::ConvolutionAverageOperator::kernelSum [protected] |
double kn::ConvolutionAverageOperator::sum [protected] |
1.5.8