ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkNormalizedCorrelationTwoImageToOneImageMetric.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 itkNormalizedCorrelationTwoImageToOneImageMetric_h
19#define itkNormalizedCorrelationTwoImageToOneImageMetric_h
20
22#include "itkCovariantVector.h"
23#include "itkPoint.h"
24
25
26namespace itk
27{
43template <typename TFixedImage, typename TMovingImage>
45{
46public:
47 ITK_DISALLOW_COPY_AND_MOVE(NormalizedCorrelationTwoImageToOneImageMetric);
48
52
55
57 itkNewMacro(Self);
58
60 itkOverrideGetNameOfClassMacro(NormalizedCorrelationTwoImageToOneImageMetric);
61
62
70
77
78
80 void
81 GetDerivative(const TransformParametersType & parameters, DerivativeType & Derivative) const override;
82
85 GetValue(const TransformParametersType & parameters) const override;
86
88 void
90 MeasureType & Value,
91 DerivativeType & Derivative) const override;
92
97 itkSetMacro(SubtractMean, bool);
98 itkGetConstReferenceMacro(SubtractMean, bool);
99 itkBooleanMacro(SubtractMean);
100
101protected:
104 void
105 PrintSelf(std::ostream & os, Indent indent) const override;
106
107private:
109};
110
111} // end namespace itk
112
113#ifndef ITK_MANUAL_INSTANTIATION
114# include "itkNormalizedCorrelationTwoImageToOneImageMetric.hxx"
115#endif
116
117#endif
Control indentation during Print() invocation.
Definition itkIndent.h:53
void GetValueAndDerivative(const TransformParametersType &parameters, MeasureType &Value, DerivativeType &Derivative) const override
MeasureType GetValue(const TransformParametersType &parameters) const override
void GetDerivative(const TransformParametersType &parameters, DerivativeType &Derivative) const override
void PrintSelf(std::ostream &os, Indent indent) const override
Implements transparent reference counting.
typename TransformType::JacobianType TransformJacobianType
CovariantVector< RealType, Self::MovingImageDimension > GradientPixelType
typename TransformType::Pointer TransformPointer
Transform< CoordinateRepresentationType, Self::MovingImageDimension, Self::FixedImageDimension > TransformType
Superclass::DerivativeType DerivativeType
typename FixedImageType::ConstPointer FixedImageConstPointer
typename MovingImageType::ConstPointer MovingImageConstPointer
typename TransformType::ParametersType TransformParametersType
typename NumericTraits< MovingImagePixelType >::RealType RealType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)