ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkVariationalRegistrationFastNCCFunction.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 * https://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#ifndef itkVariationalRegistrationFastNCCFunction_h
19#define itkVariationalRegistrationFastNCCFunction_h
20
22#include "itkCovariantVector.h"
26
27namespace itk
28{
29
64template <typename TFixedImage, typename TMovingImage, typename TDisplacementField>
66 : public VariationalRegistrationNCCFunction<TFixedImage, TMovingImage, TDisplacementField>
67{
68public:
69 ITK_DISALLOW_COPY_AND_MOVE(VariationalRegistrationFastNCCFunction);
70
74
77
79 itkNewMacro(Self);
80
82 itkOverrideGetNameOfClassMacro(VariationalRegistrationFastNCCFunction);
83
85 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
86
90
94
98
99 using IndexType = typename FixedImageType::IndexType;
100 using SizeType = typename FixedImageType::SizeType;
101 using SpacingType = typename FixedImageType::SpacingType;
102
106
112
115 using GradientCalculatorPointer = typename GradientCalculatorType::Pointer;
116
120 ComputeUpdate(const NeighborhoodType & neighborhood,
121 void * globalData,
122 const FloatOffsetType & offset = FloatOffsetType(0.0)) override;
123
126 void *
127 GetGlobalDataPointer() const override;
128
130 void
131 ReleaseGlobalDataPointer(void * GlobalData) const override;
132
133protected:
136
138 void
139 PrintSelf(std::ostream & os, Indent indent) const override;
140
142
164};
165
166
167} // end namespace itk
168
169#ifndef ITK_MANUAL_INSTANTIATION
170# include "itkVariationalRegistrationFastNCCFunction.hxx"
171#endif
172
173#endif
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
PixelType ComputeUpdate(const NeighborhoodType &neighborhood, void *globalData, const FloatOffsetType &offset=FloatOffsetType(0.0)) override
~VariationalRegistrationFastNCCFunction() override=default
typename Superclass::GradientCalculatorType GradientCalculatorType
Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
void * GetGlobalDataPointer() const override
void PrintSelf(std::ostream &os, Indent indent) const override
void ReleaseGlobalDataPointer(void *GlobalData) const override
VariationalRegistrationNCCFunction< TFixedImage, TMovingImage, TDisplacementField > Superclass
typename Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
typename Superclass::MovingImagePointer MovingImagePointer
typename Superclass::FixedImagePointer FixedImagePointer
CentralDifferenceImageFunction< FixedImageType > GradientCalculatorType
typename Superclass::DisplacementFieldType DisplacementFieldType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition itkIntTypes.h:82