Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPixelType.h File Reference
#include <mitkCommon.h>
#include <mitkPixelTypeTraits.h>
#include <MitkCoreExports.h>
#include <string>
#include <typeinfo>
#include <itkImage.h>
#include <itkImageIOBase.h>
#include <vtkImageData.h>

Go to the source code of this file.

Classes

class  mitk::PixelType
 Describes the data type of image pixels. More...
 
struct  mitk::AssertImageTypeIsValid< ItkImageType >
 Compile-time check for supported ITK image types. More...
 

Namespaces

 mitk
 Find image slices visible on a given plane.
 

Functions

template<typename T >
std::string mitk::PixelComponentTypeToString ()
 Return the ITK component type name for the given C++ scalar type. More...
 
template<typename PixelT >
std::string mitk::PixelTypeToString ()
 Return the ITK pixel type name for the given pixel type. More...
 
MITKCORE_EXPORT mitk::PixelType mitk::MakePixelType (vtkImageData *vtkimagedata)
 Deduce and create a PixelType from a vtkImageData object. More...
 
template<typename ComponentT , typename PixelT >
PixelType mitk::MakePixelType (std::size_t numOfComponents)
 Create a PixelType from explicit component and pixel type parameters. More...
 
template<typename ComponentT , typename PixelT , std::size_t numOfComponents>
PixelType mitk::MakePixelType ()
 Create a PixelType with a compile-time number of components. More...
 
template<typename ItkImageType >
PixelType mitk::MakePixelType (std::size_t numOfComponents)
 Create a MITK PixelType from an ITK image type with a runtime component count. More...
 
template<typename ItkImageType >
PixelType mitk::MakePixelType ()
 Create a MITK PixelType from an ITK image type with compile-time component count. More...
 
PixelType mitk::MakePixelType (const itk::ImageIOBase *imageIO)
 Create a MITK PixelType from an itk::ImageIOBase object. More...
 
template<typename T >
PixelType mitk::MakeScalarPixelType ()
 Create a scalar (single-component) PixelType from a C++ type. More...