MeVisLabToolboxReference
ml::ZeroCrossingsFilter Class Reference

A kernel filtering operator, which searches for zero crossings in the input image. More...

#include <mlZeroCrossingsFilter.h>

Inheritance diagram for ml::ZeroCrossingsFilter:
ml::KernelModule ml::KernelBaseModule ml::Module ml::FieldContainer ml::Base

List of all members.

Public Member Functions

 ZeroCrossingsFilter ()
 Constructor.

Protected Member Functions

virtual void calculateOutputImageProperties (int outIndex)
 Computes the output image properties for output outIndex.
 CALC_ROW_H ()
 The implementation of the calculateOutputSubImage() method overloaded from Module is done in this macro.
template<typename DATATYPE >
void calcRow (MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
 In this virtual template method the filtering of one row needs to be implemented.
 ML_MODULE_CLASS_HEADER (ZeroCrossingsFilter)
 Macro to declare methods/functions of the runtime system interface of this class.

Detailed Description

A kernel filtering operator, which searches for zero crossings in the input image.

For related code and more information see mlKernelExample.h, mlKernel.h, mlKernelBaseModule.h, mlKernelModule.h, mlKernelEditor.h, mlRankFilter.h, mlExtConvolutionFilter.h, mlKernelMacros, mlKernelTools.h and mlConvolutionFilter.h.

Definition at line 34 of file mlZeroCrossingsFilter.h.


Constructor & Destructor Documentation

ml::ZeroCrossingsFilter::ZeroCrossingsFilter ( )

Constructor.

Initializes the fields, the members and the field connections with the image output.

Note that with the following method calls an additional field interface is created as described in KernelModule and KernelBaseModule:

Also available are the fields access methods from KernelBaseModule:


Member Function Documentation

ml::ZeroCrossingsFilter::CALC_ROW_H ( ) [protected]

The implementation of the calculateOutputSubImage() method overloaded from Module is done in this macro.

It implements page border handling and a dispatcher to call the correct template version of calcRow() with the correct parameters. Note that CALC_ROW_CPP() also needs to be added in the .cpp file.

template<typename DATATYPE >
void ml::ZeroCrossingsFilter::calcRow ( MLsoffset indexTab,
size_t  indexTabSize,
MLsoffset  srcVoxelOffset,
size_t  numVox,
DATATYPE *  inCursor,
DATATYPE *  outCursor,
const ImageVector  
) [protected]

In this virtual template method the filtering of one row needs to be implemented.

It will be called by the CALC_ROW_H() / CALC_ROW_CPP() macro.

virtual void ml::ZeroCrossingsFilter::calculateOutputImageProperties ( int  outIndex) [protected, virtual]

Computes the output image properties for output outIndex.

Reimplemented from ml::KernelModule.

ml::ZeroCrossingsFilter::ML_MODULE_CLASS_HEADER ( ZeroCrossingsFilter  ) [protected]

Macro to declare methods/functions of the runtime system interface of this class.

It is defined in mlRuntimeSubClass.h. Note that this class must be registered in the project initialization file by calling the initClass() function implemented in this macro.


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