Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkConvert2Dto3DImageFilter.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 #ifndef mitkConvert2Dto3DImageFilter_h
13 #define mitkConvert2Dto3DImageFilter_h
14 
15 // MITK
16 #include "mitkImageToImageFilter.h"
17 #include <itkImage.h>
18 #include <mitkImage.h>
19 
20 namespace mitk
21 {
34  {
35  public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39 
40  protected :
53  void GenerateData() override;
54 
58  template <typename TPixel, unsigned int VImageDimension>
59  void ItkConvert2DTo3D(const itk::Image<TPixel, VImageDimension> *itkImage, mitk::Image::Pointer &mitkImage);
60  };
61 } // END mitk namespace
62 #endif
#define MITKCORE_EXPORT
Image Filter to convert 2D MITK images to 3D MITK images.
void ItkConvert2DTo3D(const itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer &mitkImage)
Make a 2D image to a 3D image.
~Convert2Dto3DImageFilter() override
standard destructor
Convert2Dto3DImageFilter()
standard constructor
void GenerateData() override
Method generating the output of this filter. Called in the updated process of the pipeline....
Superclass of all classes having one or more Images as input and generating Images as output.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Find image slices visible on a given plane.