17 #if !defined(__mlLoGFilter_H)
18 #define __mlLoGFilter_H
94 template <
typename DATATYPE>
Field to encapsulate a double value.
Base class for all fields used in the ML.
Field to encapsulate an integer value.
The typically used convenience class to apply a kernel to an image.
The LoGFilter permits filtering an image with a 2D Laplace of Gaussian filter kernel.
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
Computes the output image properties from the input image properties.
MLdouble _calculateLoGfirstPart(MLint axisIdx)
The following function calculates the values which describes the "small LoG".
DoubleField * sigmaFld
Sigma to define the deviation needed for calculation of the kernel elements.
void handleNotification(Field *field) override
Called when a parameter field is changed.
MLdouble _calculateLoGsecondPart(MLint axisIdx)
The following function calculates the values which describes the Gauss function.
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
In this virtual template method the filtering of one row needs to be implemented.
IntField * getKernelExtFld()
Integer extent (radius) of kernel. Default is 2.
CALC_ROW_H()
The implementation of the calculateOutputSubImage() method overloaded from Module is done in this mac...
void _setKernel()
The following function defines the kernel for the LoG. It uses the separability of the LoG.
void _updateKernel() override
Set correct kernel dependent on the current mode.
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...
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
MLdouble KernelDataType
Define the standard data type for kernel elements to be used in this library.