Medical Imaging Interaction Toolkit  2023.12.99-4c75e429
Medical Imaging Interaction Toolkit
mitkToFImageDownsamplingFilter.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 mitkToFImageDownsamplingFilter_h
13 #define mitkToFImageDownsamplingFilter_h
14 
15 //MITK includes
16 #include <mitkImage.h>
17 #include "mitkImageToImageFilter.h"
19 // ITK includes
20 #include "itkImage.h"
21 
22 namespace mitk
23 {
34  {
35  public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39  itkSetMacro(ResampledX,double);
40  itkGetMacro(ResampledX,double);
41 
42  itkSetMacro(ResampledY,double);
43  itkGetMacro(ResampledY,double);
44 
45  itkSetMacro(ResampledZ,double);
46  itkGetMacro(ResampledZ,double);
47 
48 
49  protected:
54 
58  ~ToFImageDownsamplingFilter() override;
59 
64  void GenerateData() override;
65 
70  template<typename TPixel, unsigned int VImageDimension>
71  void ItkImageResampling( const itk::Image<TPixel,VImageDimension>* itkImage );
72 
73  double m_ResampledX;
74  double m_ResampledY;
75  double m_ResampledZ;
76 
77 };
78 }// end namespace mitk
79 #endif
mitkImageToImageFilter.h
mitkImage.h
mitk::ToFImageDownsamplingFilter::m_ResampledY
double m_ResampledY
length of y dimension of output image in pixels
Definition: mitkToFImageDownsamplingFilter.h:74
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::ToFImageDownsamplingFilter::m_ResampledX
double m_ResampledX
length of x dimension of output image in pixels
Definition: mitkToFImageDownsamplingFilter.h:73
mitk::ToFImageDownsamplingFilter::m_ResampledZ
double m_ResampledZ
length of z dimension of output image in pixels (if 2D, default is set to 1)
Definition: mitkToFImageDownsamplingFilter.h:75
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::ToFImageDownsamplingFilter
Reduces the resolution of a ToF distance image. Although it is meant to be used for ToF distance imag...
Definition: mitkToFImageDownsamplingFilter.h:33
MITKTOFPROCESSING_EXPORT
#define MITKTOFPROCESSING_EXPORT
Definition: MitkToFProcessingExports.h:15
MitkToFProcessingExports.h
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition: mitkImageToImageFilter.h:25