MeVisLab Toolbox Reference
mlITKKernelSupport.h File Reference
#include "mlInitSystemITKSupport.h"
#include "mlModuleIncludes.h"
#include "mlITKSupport.h"
#include "mlITKFlatStructElement.h"
#include "mlKernel.h"
#include <itkNeighborhood.h>
#include <itkFlatStructuringElement.h>
#include <itkNumericTraits.h>

Go to the source code of this file.

Classes

class  itk::MLITKStructuringElementBase< TPixel, VDimension, TAllocator, SuperClss >
 Template class to create an itk structured element from an ML kernel. More...
 
class  itk::MLITKStructuringElement< TPixel, VDimension, TAllocator >
 Specialized class for generated toolkit modules using normal kernels. More...
 

Namespaces

namespace  itk
 Include dll-specific settings.
 

Macros

#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_0(CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_1(CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_2(CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_0(CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_1(CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_0_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_0_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_0_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_1_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_1_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_1_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_KERNEL_WRAPPER_2_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_0_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_0_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_0_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_1_2D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_1_3D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 
#define ML_ITK_FLAT_KERNEL_WRAPPER_1_6D(PROJECT_PREFIX, CLASS_NAME, NAMESPACE)
 Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.
 

Macro Definition Documentation

◆ ML_ITK_FLAT_KERNEL_WRAPPER_0_2D

#define ML_ITK_FLAT_KERNEL_WRAPPER_0_2D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_0(CLASS_NAME, NAMESPACE)
Implement all support functionality for ITK filter calls and the call to the correct template version...
#define _ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, DET_IN_REGION, WRAPPER_TYPEDEFS, CREATOR_SWITCH, DET_OUT_REGION)
Implements a template class CLASS_NAME derived from BASE_CLASS with private constructor,...
#define ML_IMPLEMENT_ALL_ITK_2D_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM)
This macro implements 2D code for all ML voxel data types supported by ITK.
#define _ML_ITK_DETERMINE_OUT_REGION_N(CLASS_NAME, NAMESPACE)
Calculates the maximum extent of the itk output image for N inputs and returns it as SubImageBox.
#define _ML_ITK_DETERMINE_IN_REGION_N(CLASS_NAME, NAMESPACE)
Calculates required input regions for any number of filter inputs.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 2D code.

Definition at line 389 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_0_3D

#define ML_ITK_FLAT_KERNEL_WRAPPER_0_3D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_IMPLEMENT_ALL_ITK_3D_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM)
This macro implements 3D code for all ML voxel data types supported by ITK.

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 3D code.

Definition at line 399 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_0_6D

#define ML_ITK_FLAT_KERNEL_WRAPPER_0_6D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_IMPLEMENT_ALL_ITK_6D_CASES(INFO_STRING, USER_CODE, CLASS_NAME, DATATYPE_ENUM, DIM)
This macro implements 6D code for all ML voxel data types supported by ITK.

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 408 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_1_2D

#define ML_ITK_FLAT_KERNEL_WRAPPER_1_2D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_1(CLASS_NAME, NAMESPACE)
Implement all support functionality for ITK filter calls and the call to the correct template version...

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 2D code.

Definition at line 419 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_1_3D

#define ML_ITK_FLAT_KERNEL_WRAPPER_1_3D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 3D code.

Definition at line 429 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_1_6D

#define ML_ITK_FLAT_KERNEL_WRAPPER_1_6D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 438 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_0

#define ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_0 ( CLASS_NAME,
NAMESPACE )
Value:
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef itk::FlatStructuringElement<DIM> MLITKFLATKernelType; \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS0, MLITKFLATKernelType > FilterType; \

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 281 of file mlITKKernelSupport.h.

◆ ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_1

#define ML_ITK_FLAT_KERNEL_WRAPPER_TYPEDEFS_1 ( CLASS_NAME,
NAMESPACE )
Value:
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef itk::FlatStructuringElement<DIM> MLITKFLATKernelType; \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS1, MLITKFLATKernelType > FilterType; \

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 298 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_0_2D

#define ML_ITK_KERNEL_WRAPPER_0_2D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_0(CLASS_NAME, NAMESPACE)
Implement all support functionality for ITK filter calls and the call to the correct template version...

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 2D code.

Definition at line 317 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_0_3D

#define ML_ITK_KERNEL_WRAPPER_0_3D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 3D code.

Definition at line 327 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_0_6D

#define ML_ITK_KERNEL_WRAPPER_0_6D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 336 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_1_2D

#define ML_ITK_KERNEL_WRAPPER_1_2D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_1(CLASS_NAME, NAMESPACE)
Implement all support functionality for ITK filter calls and the call to the correct template version...

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 2D code.

Definition at line 347 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_1_3D

#define ML_ITK_KERNEL_WRAPPER_1_3D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Compiles only 3D code.

Definition at line 357 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_1_6D

#define ML_ITK_KERNEL_WRAPPER_1_6D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 366 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_2_6D

#define ML_ITK_KERNEL_WRAPPER_2_6D ( PROJECT_PREFIX,
CLASS_NAME,
NAMESPACE )
Value:
#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_2(CLASS_NAME, NAMESPACE)
Implement all support functionality for ITK filter calls and the call to the correct template version...

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 376 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_TYPEDEFS_0

#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_0 ( CLASS_NAME,
NAMESPACE )
Value:
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS0, MLITKKernelType> FilterType; \
Specialized class for generated toolkit modules using normal kernels.

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 228 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_TYPEDEFS_1

#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_1 ( CLASS_NAME,
NAMESPACE )
Value:
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS1, MLITKKernelType> FilterType; \

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 245 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_TYPEDEFS_2

#define ML_ITK_KERNEL_WRAPPER_TYPEDEFS_2 ( CLASS_NAME,
NAMESPACE )
Value:
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
\
/*--------------------------------------------------------------------*/ \
typedef NAMESPACE::CLASS_NAME<_TEMPLATE_INPUTS2, MLITKKernelType> FilterType; \

Implement all support functionality for ITK filter calls and the call to the correct template version of of calcOutSubImageT.

Definition at line 263 of file mlITKKernelSupport.h.