13#ifndef ML_CORRELATION_H
14#define ML_CORRELATION_H
52 template <
typename DATATYPE>
63 bool _generateKernel();
69 Field *kernelInputField;
Correlation of image with kernel image.
Correlation(void)
Constructor.
void handleNotification(Field *field) override
Handle field changes of the field field.
~Correlation(void) override
Destructor cleaning kernel data.
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
In this virtual template method the filtering of one row is implemented.
CALC_ROW_H()
Calc the SubImageBox: default for input 1 (the image), empty for the kernel image as it has already c...
Base class for all fields used in the ML.
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...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint MLsoffset
Signed ML offset type which 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.