16#if !defined(__mlRankFilter_H)
17#define __mlRankFilter_H
169 template <
typename DATATYPE>
KernelModule(int inputNum=1, int outputNum=1)
void activateAttachments() override
static const char *const RankFilterNames[]
Strings names for rank based filters.
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
Computes the output image properties (e.g. the extents) for output outIndex.
void handleNotification(Field *field) override
Called when a parameter field is changed.
IntField * getRankFld()
Specifies the rank level for the 'Rank' algorithm. Default is 0.
EnumField * getRankFilterFld()
Specifies the rank based filter algorithm. Default is mlMedian.
#define ML_MODULE_CLASS_HEADER(className)
MLint MLsoffset
Signed ML offset type that is a 32-bit signed integer on 32-bit platforms and a 64-bit integer on 64-...
TImageVector< MLint > ImageVector
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.