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

 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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 

Macro Definition Documentation

◆ ML_ITK_FLAT_KERNEL_WRAPPER_0_2D

#define ML_ITK_FLAT_KERNEL_WRAPPER_0_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:
_ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, _ML_ITK_DETERMINE_IN_REGION_N, \
#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.

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 361 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:
_ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, _ML_ITK_DETERMINE_IN_REGION_N, \
#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 371 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:
_ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, _ML_ITK_DETERMINE_IN_REGION_N, \
#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 380 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:
_ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, _ML_ITK_DETERMINE_IN_REGION_N, \
#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 391 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 401 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 410 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 263 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 280 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_0_2D

#define ML_ITK_KERNEL_WRAPPER_0_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:
_ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, _ML_ITK_DETERMINE_IN_REGION_N, \
#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 299 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 309 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 318 of file mlITKKernelSupport.h.

◆ ML_ITK_KERNEL_WRAPPER_1_2D

#define ML_ITK_KERNEL_WRAPPER_1_2D (   PROJECT_PREFIX,
  CLASS_NAME,
  NAMESPACE 
)
Value:
_ML_ITK_WRAPPER(PROJECT_PREFIX, CLASS_NAME, NAMESPACE, _ML_ITK_DETERMINE_IN_REGION_N, \
#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 329 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 339 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 348 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.