70 template <
typename DATATYPE>
134 double _lowerThresholdClamped;
136 double _upperThresholdClamped;
149 static bool _mask2Duse4[9];
153 static bool _mask2Duse8[9];
157 static bool _mask3Duse6[27];
161 static bool _mask3Duse18[27];
165 static bool _mask3Duse26[27];
KernelModule(int inputNum=1, int outputNum=1)
void handleNotification(Field *field) override
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
@ NUM_NEIGHBORHOOD_2D_SELECTS
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
void _userKernelPostUpdate() override
@ NUM_NEIGHBORHOOD_3D_SELECTS
#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-...
MLdouble KernelDataType
Define the standard data type for kernel elements to be used in this library.
TImageVector< MLint > ImageVector
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.