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
24ML_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
90ML_END_NAMESPACE
91
92#endif //of __mlZeroCrossingsFilter_H
93
94
KernelModule(int inputNum=1, int outputNum=1)
ML_MODULE_CLASS_HEADER(ZeroCrossingsFilter)
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 &)
#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.