MeVisLabToolboxReference
ml::RobertsFilter Class Reference

Class to apply a kernel based roberts filtering to an image. More...

#include <mlRobertsFilter.h>

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

List of all members.

Public Types

enum  RCrossOperators {
  RCROSS_ONE_DIRECTION_X = 0, RCROSS_ONE_DIRECTION_Y, RCROSS_NORMAL, RCROSS_ABS,
  RCROSS_SQUARE, RCROSS_6_ABS, RCROSS_6_SQUARE, NUM_RCROSS_OPERATORS
}
 Modes which Roberts Cross operator should be used. More...

Public Member Functions

 RobertsFilter ()
 Constructor.
EnumFieldgetWhichRobertsOperatorFld ()
 Enum field to select between different roberts cross kernels operators.

Static Public Attributes

static const char *const RCrossOperatorNames []
 Strings for operator names.

Protected Member Functions

virtual void handleNotification (Field *field)
 Called when a parameter field is changed.
virtual void calculateOutputImageProperties (int outIndex)
 Computes the output image properties from the input image properties.

Detailed Description

Class to apply a kernel based roberts filtering to an 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 35 of file mlRobertsFilter.h.


Member Enumeration Documentation

Modes which Roberts Cross operator should be used.

Enumerator:
RCROSS_ONE_DIRECTION_X 
RCROSS_ONE_DIRECTION_Y 
RCROSS_NORMAL 
RCROSS_ABS 
RCROSS_SQUARE 
RCROSS_6_ABS 
RCROSS_6_SQUARE 
NUM_RCROSS_OPERATORS 

Definition at line 42 of file mlRobertsFilter.h.


Constructor & Destructor Documentation

ml::RobertsFilter::RobertsFilter ( )

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:

  • _createImageIntervalFields (0, 1024, true, false);

Also available are the fields access methods from KernelBaseModule:


Member Function Documentation

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

Computes the output image properties from the input image properties.

Reimplemented from ml::KernelModule.

EnumField* ml::RobertsFilter::getWhichRobertsOperatorFld ( ) [inline]

Enum field to select between different roberts cross kernels operators.

Definition at line 77 of file mlRobertsFilter.h.

virtual void ml::RobertsFilter::handleNotification ( Field field) [protected, virtual]

Called when a parameter field is changed.

Reimplemented from ml::KernelModule.


Member Data Documentation

const char* const ml::RobertsFilter::RCrossOperatorNames[] [static]

Strings for operator names.

Definition at line 57 of file mlRobertsFilter.h.


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