Medical Imaging Interaction Toolkit
2023.04.00
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
"
18
#include <MitkToFProcessingExports.h>
19
// ITK includes
20
#include "itkImage.h"
21
22
namespace
mitk
23
{
33
class
MITKTOFPROCESSING_EXPORT
ToFImageDownsamplingFilter
:
public
ImageToImageFilter
34
{
35
public
:
36
mitkClassMacro
(
ToFImageDownsamplingFilter
,
ImageToImageFilter
);
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
:
53
ToFImageDownsamplingFilter
();
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
DataCollection - Class to facilitate loading/accessing structured data.
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
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition:
mitkImageToImageFilter.h:25
src
MITK
Modules
ToFProcessing
mitkToFImageDownsamplingFilter.h
Generated on Wed May 17 2023 16:26:12 for Medical Imaging Interaction Toolkit by
1.8.17