16 #ifndef ML_BIT_MORPHOLOGY_FILTER_H
17 #define ML_BIT_MORPHOLOGY_FILTER_H
62 NUM_BIT_MORPHOLOGY_FILTERS
66 static const char*
const BitMorphologyFilterNames[NUM_BIT_MORPHOLOGY_FILTERS];
115 template <
typename DATATYPE>
The class to apply BitMorphology based kernel filters to images.
BitMorphologyFilter()
Constructor.
EnumField * getBitMorphologyFilterFld() const
Access method to the enum field managing the binary morphological filtering algorithm.
BitMorphologyFilterTypes
The following BitMorphology based filters are available:
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
Computes the output image properties (e.g.
void handleNotification(Field *field) override
Called when a parameter field is changed.
CALC_ROW_H()
Macro which needs to be added to the implementation of a class derived from KernelModule or KernelBas...
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
In this template method the filtering of one row needs to be implemented.
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
The typically used convenience class to apply a kernel to an image.
Class which represents an image, which manages properties of an image and image data which is located...
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
#define MLKERNELEXPORT
Includes files used in many parts of the dll, defined dll-specific macros and controls any system dep...
MLint MLsoffset
Signed ML offset type which is a 32 bit signed integer on 32 bit platforms and a 64 bit integer on 64...