MeVisLab Toolbox Reference
mlKernelCurvatureEstimationFilter.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
15
16#if !defined(__mlKernelCurvatureEstimationFilter_H)
17#define __mlKernelCurvatureEstimationFilter_H
18
19// ML-includes
20#include "mlInitSystemKernel.h"
21#include "mlKernelModule.h"
22
23ML_START_NAMESPACE
24
25 //----------------------------------------------------------------------------
37 //----------------------------------------------------------------------------
39
40 public:
41
42 //----------------------------------------------------------------------------
64 //----------------------------------------------------------------------------
66
67 //----------------------------------------------------------------------------
69 //----------------------------------------------------------------------------
70 inline BoolField *getCalculateAngleFld() const { return _calculateAngleFld; }
71
72
73 protected:
75 void calculateOutputImageProperties(int outputIndex, PagedImage* outputImage) override;
76
83
86 template <typename DATATYPE>
87 void calcRow(MLsoffset *indexTab,
88 size_t indexTabSize,
89 MLsoffset srcVoxelOffset,
90 size_t numVox,
91 DATATYPE *inCursor,
92 DATATYPE *outCursor,
93 const ImageVector &/*rowStart*/);
94
95 private:
98 BoolField *_calculateAngleFld;
99
105 };
106
107ML_END_NAMESPACE
108
109#endif //of __mlKernelCurvatureEstimationFilter_H
110
111
void calculateOutputImageProperties(int outputIndex, PagedImage *outputImage) override
Computes the output image properties for output outIndex.
void calcRow(MLsoffset *indexTab, size_t indexTabSize, MLsoffset srcVoxelOffset, size_t numVox, DATATYPE *inCursor, DATATYPE *outCursor, const ImageVector &)
BoolField * getCalculateAngleFld() const
Get access to parameter field(s). See member documentation of _calculateAngleFld.
KernelModule(int inputNum=1, int outputNum=1)
#define ML_MODULE_CLASS_HEADER(className)
#define MLKERNELEXPORT
MLint MLsoffset
Signed ML offset type that is a 32-bit signed integer on 32-bit platforms and a 64-bit integer on 64-...
Definition mlTypeDefs.h:561
TImageVector< MLint > ImageVector
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.