Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
PixelType.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef PixelType_h
14 #define PixelType_h
15 
16 #include <mitkPixelType.h>
17 #include <pybind11/pybind11.h>
18 
19 namespace mitk
20 {
21  PixelType MakePixelType(const pybind11::object& dtype, size_t components = 1);
22 }
23 
24 #endif
Describes the data type of image pixels.
Definition: mitkPixelType.h:75
Find image slices visible on a given plane.
MITKCORE_EXPORT mitk::PixelType MakePixelType(vtkImageData *vtkimagedata)
Deduce and create a PixelType from a vtkImageData object.