Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::ImageTypeTrait< TPixelType, VDimension > Struct Template Reference

Compile-time trait that maps a pixel type and dimension to the corresponding ITK image type. More...

#include <mitkPixelTypeTraits.h>

Public Types

typedef itk::Image< TPixelType, VDimension > ImageType
 

Static Public Attributes

static const bool IsVectorImage
 

Detailed Description

template<typename TPixelType, unsigned int VDimension = 0>
struct mitk::ImageTypeTrait< TPixelType, VDimension >

Compile-time trait that maps a pixel type and dimension to the corresponding ITK image type.

For scalar and fixed-length compound pixel types, maps to itk::Image. For itk::VariableLengthVector pixel types, maps to itk::VectorImage.

Template Parameters
TPixelTypeThe pixel type.
VDimensionThe image dimension (0 means the type itself is an image type).

Definition at line 133 of file mitkPixelTypeTraits.h.

Member Typedef Documentation

◆ ImageType

template<typename TPixelType , unsigned int VDimension = 0>
typedef itk::Image<TPixelType, VDimension> mitk::ImageTypeTrait< TPixelType, VDimension >::ImageType

Definition at line 135 of file mitkPixelTypeTraits.h.

Member Data Documentation

◆ IsVectorImage

template<typename TPixelType , unsigned int VDimension = 0>
const bool mitk::ImageTypeTrait< TPixelType, VDimension >::IsVectorImage
static

Definition at line 136 of file mitkPixelTypeTraits.h.


The documentation for this struct was generated from the following file: