17 #if !defined (__mlCloseGapFilter_H)
18 #define __mlCloseGapFilter_H
145 static const char*
const CloseGapFilterNames[];
174 static const char*
const CloseGapKernelNames[];
225 template <
typename DATATYPE>
257 std::vector<MLint> _orderedIndices;
The class to apply CloseGap based kernel filters to images.
CALC_ROW_H()
Macro which needs to be added to the implementation of a class derived from KernelModule or KernelBas...
void _userKernelPostUpdate() override
Typical method to be overloaded by derived modules to apply kernel changes.
CloseGapFilter()
Constructor.
FloatField * getSensitivityFld() const
void handleNotification(Field *field) override
Called when a parameter field is changed.
EnumField * getSelectInternalKernelFld() const
void activateAttachments() override
Called when loading has finished.
CloseGapFilters
The following morphology based filters are available to filter a line in an image:
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.
CloseGapKernels
Selects the kernel that will be used for the current filter.
EnumField * getCloseGapFilterFld() const
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
Field to encapsulate a float value.
The typically used convenience class to apply a kernel to an image.
#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...