ITK
5.2.0
Insight Toolkit
ITK
Modules
Core
ImageFunction
include
itkLabelImageGaussianInterpolateImageFunction.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright NumFOCUS
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
19
#ifndef itkLabelImageGaussianInterpolateImageFunction_h
20
#define itkLabelImageGaussianInterpolateImageFunction_h
21
22
#include "
itkGaussianInterpolateImageFunction.h
"
23
24
namespace
itk
25
{
26
68
69
template
<
typename
TInputImage,
70
typename
TCoordRep = double,
71
typename
TPixelCompare = std::less<typename itk::NumericTraits<typename TInputImage::PixelType>::RealType>>
72
class
ITK_TEMPLATE_EXPORT
LabelImageGaussianInterpolateImageFunction
73
:
public
GaussianInterpolateImageFunction
<TInputImage, TCoordRep>
74
{
75
public
:
76
ITK_DISALLOW_COPY_AND_MOVE(
LabelImageGaussianInterpolateImageFunction
);
77
79
using
Self
=
LabelImageGaussianInterpolateImageFunction
;
80
using
Superclass
=
GaussianInterpolateImageFunction<TInputImage, TCoordRep>
;
81
using
Pointer
=
SmartPointer<Self>
;
82
using
ConstPointer
=
SmartPointer<const Self>
;
83
using
InputPixelType
=
typename
TInputImage::PixelType;
84
86
itkTypeMacro(
LabelImageGaussianInterpolateImageFunction
,
GaussianInterpolateImageFunction
);
87
89
itkNewMacro(
Self
);
90
92
static
constexpr
unsigned
int
ImageDimension = TInputImage::ImageDimension;
93
95
using
OutputType
=
typename
Superclass::OutputType;
96
98
using
InputImageType
=
typename
Superclass::InputImageType;
99
101
using
RealType
=
typename
Superclass::RealType;
102
104
using
IndexType
=
typename
Superclass::IndexType
;
105
107
using
ContinuousIndexType
=
typename
Superclass::ContinuousIndexType;
108
110
using
ArrayType
=
typename
Superclass::ArrayType;
111
115
OutputType
116
EvaluateAtContinuousIndex
(
const
ContinuousIndexType
& cindex)
const override
117
{
118
return
this->EvaluateAtContinuousIndex(cindex,
nullptr
);
119
}
120
121
protected
:
122
LabelImageGaussianInterpolateImageFunction
() =
default
;
123
~
LabelImageGaussianInterpolateImageFunction
()
override
=
default
;
124
125
private
:
129
OutputType
130
EvaluateAtContinuousIndex(
const
ContinuousIndexType &, OutputType *)
const override
;
131
};
132
133
}
// end namespace itk
134
135
#ifndef ITK_MANUAL_INSTANTIATION
136
# include "itkLabelImageGaussianInterpolateImageFunction.hxx"
137
#endif
138
139
#endif
itkGaussianInterpolateImageFunction.h
itk::GaussianInterpolateImageFunction::IndexType
typename Superclass::IndexType IndexType
Definition:
itkGaussianInterpolateImageFunction.h:85
itk::LabelImageGaussianInterpolateImageFunction::EvaluateAtContinuousIndex
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &cindex) const override
Definition:
itkLabelImageGaussianInterpolateImageFunction.h:116
itk::SmartPointer< Self >
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition:
itkGTestTypedefsAndConstructors.h:50
itk::LightObject
Light weight base class for most itk classes.
Definition:
itkLightObject.h:59
itk::LabelImageGaussianInterpolateImageFunction::InputPixelType
typename TInputImage::PixelType InputPixelType
Definition:
itkLabelImageGaussianInterpolateImageFunction.h:83
itk::GaussianInterpolateImageFunction
Evaluates the Gaussian interpolation of an image.
Definition:
itkGaussianInterpolateImageFunction.h:54
itk::FixedArray< RealType, ImageDimension >
itk::GaussianInterpolateImageFunction::OutputType
typename Superclass::OutputType OutputType
Definition:
itkGaussianInterpolateImageFunction.h:76
itk::GaussianInterpolateImageFunction::RealType
typename Superclass::RealType RealType
Definition:
itkGaussianInterpolateImageFunction.h:82
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnnulusOperator.h:24
itk::GaussianInterpolateImageFunction::InputImageType
typename Superclass::InputImageType InputImageType
Definition:
itkGaussianInterpolateImageFunction.h:79
itk::GaussianInterpolateImageFunction::ContinuousIndexType
typename Superclass::ContinuousIndexType ContinuousIndexType
Definition:
itkGaussianInterpolateImageFunction.h:91
itk::LabelImageGaussianInterpolateImageFunction
Interpolation function for multi-label images that implicitly smooths each unique value in the image ...
Definition:
itkLabelImageGaussianInterpolateImageFunction.h:72
Generated on Thu Apr 1 2021 01:51:25 for ITK by
1.8.16