16 #if !defined(__mlSobel3DFilter_H)
17 #define __mlSobel3DFilter_H
75 GRAD_ESTIMATION_AND_STRENGTH_PACKED = 3
89 template <
typename DATATYPE>
Field to encapsulate a boolean value.
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.
Class which represents an image, which manages properties of an image and image data which is located...
Applies a Sobel edge detection or a Sobel gradient estimation in 3D to a volume image.
BoolField * getVoxelSizeFld() const
CALC_ROW_H()
Macro which needs to be added to the implementation of a class derived from KernelModule or KernelBas...
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset, size_t numVox, TSubImageWithCursor< DATATYPE > &inSubImg, TSubImageWithCursor< DATATYPE > &outSubImg, const ImageVector &)
In this template method the filtering of one row needs to be implemented.
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
Computes the output image properties from the input image properties.
EnumField * getFilterModeFld() const
Sobel3DModeType
enum field for filterModes
void handleNotification(Field *field) override
Called when a parameter field is changed.
FloatField * getEdgeThresholdMaximumValueFld() const
FloatField * getDetectedEdgeValueFld() const
Sobel3DFilter()
Constructor.
FloatField * getEdgeThresholdMinimumValueFld() const
FloatField * getDetectedNonEdgeValueFld() const
A class that offers a TSubImage with a TSubImageCursor.
#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...
MLdouble KernelDataType
Define the standard data type for kernel elements to be used in this library.