SimpleITK  
sitkFFTNormalizedCorrelationImageFilter.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#ifndef sitkFFTNormalizedCorrelationImageFilter_h
19#define sitkFFTNormalizedCorrelationImageFilter_h
20
21/*
22 * WARNING: DO NOT EDIT THIS FILE!
23 * THIS FILE IS AUTOMATICALLY GENERATED BY THE SIMPLEITK BUILD PROCESS.
24 * Please look at sitkImageFilterTemplate.h.jinja to make changes.
25 */
26
27#include <memory>
28
29#include "sitkBasicFilters.h"
30#include "sitkImageFilter.h"
32
33namespace itk::simple {
34
95public:
97
100
104
107
108
109
110
114 void
115 SetRequiredNumberOfOverlappingPixels(uint64_t RequiredNumberOfOverlappingPixels )
116 { this->m_RequiredNumberOfOverlappingPixels = RequiredNumberOfOverlappingPixels; }
117
120 uint64_t
122
123
127 void
128 SetRequiredFractionOfOverlappingPixels(double RequiredFractionOfOverlappingPixels )
129 { this->m_RequiredFractionOfOverlappingPixels = RequiredFractionOfOverlappingPixels; }
130
133 double
135
136
138 std::string GetName() const { return std::string("FFTNormalizedCorrelationImageFilter"); }
139
141 std::string ToString() const;
142
143
145 Image Execute(const Image &fixedImage, const Image &movingImage);
146
147
148private:
150 using MemberFunctionType = Image (Self::*)(const Image *
151 fixedImage, const Image *
152 movingImage);
153 template <class TImageType> Image ExecuteInternal(const Image *
154 fixedImage, const Image *
155 movingImage);
158
159
161
163
164
165
166
167
168
169
170};
171
172
182 const Image &fixedImage, const Image &movingImage, uint64_t requiredNumberOfOverlappingPixels = 0u, double requiredFractionOfOverlappingPixels = 0.0
183);
184
186
187}
188#endif
Image(Self::*)(const Image * fixedImage, const Image * movingImage) MemberFunctionType
Image ExecuteInternal(const Image *fixedImage, const Image *movingImage)
void SetRequiredNumberOfOverlappingPixels(uint64_t RequiredNumberOfOverlappingPixels)
void SetRequiredFractionOfOverlappingPixels(double RequiredFractionOfOverlappingPixels)
static const detail::MemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory()
Image Execute(const Image &fixedImage, const Image &movingImage)
The Image class for SimpleITK.
Definition sitkImage.h:77
A class used to instantiate and generate function object to templated member functions.
Image FFTNormalizedCorrelation(const Image &fixedImage, const Image &movingImage, uint64_t requiredNumberOfOverlappingPixels=0u, double requiredFractionOfOverlappingPixels=0.0)
Calculate normalized cross correlation using FFTs.
typelist2::typelist< BasicPixelID< int8_t >, BasicPixelID< uint8_t >, BasicPixelID< int16_t >, BasicPixelID< uint16_t >, BasicPixelID< int32_t >, BasicPixelID< uint32_t >, BasicPixelID< float >, BasicPixelID< double > > BasicPixelIDTypeList
#define SITKBasicFilters_EXPORT