Reduces the resolution of a ToF distance image. Although it is meant to be used for ToF distance images, it should work for any 2D or 3D images. The dimensions (in pixels) of the desired image are taken as input parameters, and an image with these specified dimensions is created.
More...
#include <mitkToFImageDownsamplingFilter.h>
|
| ToFImageDownsamplingFilter () |
| Standard constructor.
|
|
| ~ToFImageDownsamplingFilter () override |
| Standard destructor.
|
|
void | GenerateData () override |
| Method generating the output of this filter. Called in the updated process of the pipeline. This method calls the AccessFixedDimensionByItk class with the ItkImageResampling function below.
|
|
template<typename TPixel , unsigned int VImageDimension> |
void | ItkImageResampling (const itk::Image< TPixel, VImageDimension > *itkImage) |
| Templated method for ITK image type which performs the resampling with an itk filter.
|
|
|
double | m_ResampledX |
| length of x dimension of output image in pixels
|
|
double | m_ResampledY |
| length of y dimension of output image in pixels
|
|
double | m_ResampledZ |
| length of z dimension of output image in pixels (if 2D, default is set to 1)
|
|
Reduces the resolution of a ToF distance image. Although it is meant to be used for ToF distance images, it should work for any 2D or 3D images. The dimensions (in pixels) of the desired image are taken as input parameters, and an image with these specified dimensions is created.
Definition at line 33 of file mitkToFImageDownsamplingFilter.h.
◆ ToFImageDownsamplingFilter()
mitk::ToFImageDownsamplingFilter::ToFImageDownsamplingFilter |
( |
| ) |
|
|
protected |
◆ ~ToFImageDownsamplingFilter()
mitk::ToFImageDownsamplingFilter::~ToFImageDownsamplingFilter |
( |
| ) |
|
|
overrideprotected |
◆ GenerateData()
void mitk::ToFImageDownsamplingFilter::GenerateData |
( |
| ) |
|
|
overrideprotected |
Method generating the output of this filter. Called in the updated process of the pipeline. This method calls the AccessFixedDimensionByItk class with the ItkImageResampling function below.
Definition at line 35 of file mitkToFImageDownsamplingFilter.cpp.
◆ itkCloneMacro()
mitk::ToFImageDownsamplingFilter::itkCloneMacro |
( |
Self | | ) |
|
◆ itkFactorylessNewMacro()
mitk::ToFImageDownsamplingFilter::itkFactorylessNewMacro |
( |
Self | | ) |
|
◆ itkGetMacro() [1/3]
mitk::ToFImageDownsamplingFilter::itkGetMacro |
( |
ResampledX | , |
|
|
double | ) |
◆ itkGetMacro() [2/3]
mitk::ToFImageDownsamplingFilter::itkGetMacro |
( |
ResampledY | , |
|
|
double | ) |
◆ itkGetMacro() [3/3]
mitk::ToFImageDownsamplingFilter::itkGetMacro |
( |
ResampledZ | , |
|
|
double | ) |
◆ ItkImageResampling()
template<typename TPixel , unsigned int VImageDimension>
void mitk::ToFImageDownsamplingFilter::ItkImageResampling |
( |
const itk::Image< TPixel, VImageDimension > * | itkImage | ) |
|
|
protected |
Templated method for ITK image type which performs the resampling with an itk filter.
- Parameters
-
itkImage | is the input to the filter converted to ITK format |
Definition at line 79 of file mitkToFImageDownsamplingFilter.cpp.
◆ itkSetMacro() [1/3]
mitk::ToFImageDownsamplingFilter::itkSetMacro |
( |
ResampledX | , |
|
|
double | ) |
◆ itkSetMacro() [2/3]
mitk::ToFImageDownsamplingFilter::itkSetMacro |
( |
ResampledY | , |
|
|
double | ) |
◆ itkSetMacro() [3/3]
mitk::ToFImageDownsamplingFilter::itkSetMacro |
( |
ResampledZ | , |
|
|
double | ) |
◆ mitkClassMacro()
◆ m_ResampledX
double mitk::ToFImageDownsamplingFilter::m_ResampledX |
|
protected |
◆ m_ResampledY
double mitk::ToFImageDownsamplingFilter::m_ResampledY |
|
protected |
◆ m_ResampledZ
double mitk::ToFImageDownsamplingFilter::m_ResampledZ |
|
protected |
The documentation for this class was generated from the following files: