MeVisLab Toolbox Reference
mlZeroCrossingsFilter.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2007, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 
16 
17 #if !defined(__mlZeroCrossingsFilter_H)
18 #define __mlZeroCrossingsFilter_H
19 
20 // ML-includes
21 #include "mlInitSystemKernel.h"
22 #include "mlKernelModule.h"
23 
24 ML_START_NAMESPACE
25 
26  //-------------------------------------------------------------------------
34  //-------------------------------------------------------------------------
36 
37  public:
38 
39  //-------------------------------------------------------------------
57  //-------------------------------------------------------------------
59 
60  protected:
61 
63  void calculateOutputImageProperties(int outputIndex, PagedImage* outputImage) override;
64 
71 
74  template <typename DATATYPE>
75  void calcRow(MLsoffset *indexTab,
76  size_t indexTabSize,
77  MLsoffset srcVoxelOffset,
78  size_t numVox,
79  DATATYPE *inCursor,
80  DATATYPE *outCursor,
81  const ImageVector &/*rowStart*/);
82 
88  };
89 
90 ML_END_NAMESPACE
91 
92 #endif //of __mlZeroCrossingsFilter_H
93 
94 
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...
Definition: mlPagedImage.h:70
A kernel filtering operator, which searches for zero crossings in the input image.
ML_MODULE_CLASS_HEADER(ZeroCrossingsFilter)
Macro to declare methods/functions of the runtime system interface of this class.
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
Computes the output image properties for output outIndex.
CALC_ROW_H()
The implementation of the calculateOutputSubImage() method overloaded from Module is done in this mac...
ZeroCrossingsFilter()
Constructor.
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.
#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...
Definition: mlTypeDefs.h:650