kn::ConvolutionMaxOperator Class Reference

convolution operator for Max More...

#include <ConvolutionMaxOperator.hpp>

Inherits kn::ConvolutionOperator.

Collaboration diagram for kn::ConvolutionMaxOperator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConvolutionMaxOperator ()
 Default constructor.
 ConvolutionMaxOperator (const ConvolutionMaxOperator &e)
 Constructor by copy.
 ~ConvolutionMaxOperator ()
 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.
ConvolutionMaxOperatorclone () const
 Virtual constructor by copy.

Protected Attributes

double max
double kernelSum


Detailed Description

convolution operator for Max

Definition at line 51 of file ConvolutionMaxOperator.hpp.


Constructor & Destructor Documentation

kn::ConvolutionMaxOperator::ConvolutionMaxOperator (  )  [inline]

Default constructor.

Definition at line 59 of file ConvolutionMaxOperator.hpp.

kn::ConvolutionMaxOperator::ConvolutionMaxOperator ( const ConvolutionMaxOperator e  )  [inline]

Constructor by copy.

Definition at line 66 of file ConvolutionMaxOperator.hpp.

kn::ConvolutionMaxOperator::~ConvolutionMaxOperator (  )  [inline]

Destructor.

Definition at line 73 of file ConvolutionMaxOperator.hpp.


Member Function Documentation

ConvolutionMaxOperator* kn::ConvolutionMaxOperator::clone (  )  const [inline, virtual]

Virtual constructor by copy.

Returns:
a pointer on a new instance of the ConvolutionMaxOperator constructed by copy

Implements kn::ConvolutionOperator.

Definition at line 111 of file ConvolutionMaxOperator.hpp.

double kn::ConvolutionMaxOperator::getResult (  )  [inline, virtual]

Getting the result of the operation.

Returns:
the result of the operation
Exceptions:
ImageException kernel sum null

Implements kn::ConvolutionOperator.

Definition at line 93 of file ConvolutionMaxOperator.hpp.

void kn::ConvolutionMaxOperator::initialize (  )  [inline, virtual]

Reinitialize the operator.

Implements kn::ConvolutionOperator.

Definition at line 84 of file ConvolutionMaxOperator.hpp.

void kn::ConvolutionMaxOperator::operator() ( double  kernelValue,
double  imageValue 
) [inline, virtual]

Insert the computation of a new point of the kernel.

Parameters:
kernelValue the value of the kernel point
imageValue the value of the corresponding image point

Implements kn::ConvolutionOperator.

Definition at line 103 of file ConvolutionMaxOperator.hpp.


Member Data Documentation

Definition at line 77 of file ConvolutionMaxOperator.hpp.

double kn::ConvolutionMaxOperator::max [protected]

Definition at line 76 of file ConvolutionMaxOperator.hpp.


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

Generated on Thu Nov 12 16:06:36 2009 for OpenKraken-image by  doxygen 1.5.8