ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlockMatchingNormalizedCrossCorrelationFFTMetricImageFilter.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 itkBlockMatchingNormalizedCrossCorrelationFFTMetricImageFilter_h
19#define itkBlockMatchingNormalizedCrossCorrelationFFTMetricImageFilter_h
20
22
29
31
32namespace itk
33{
34namespace BlockMatching
35{
36
46template <class TFixedImage, class TMovingImage, class TMetricImage>
48 : public NormalizedCrossCorrelationMetricImageFilter<TFixedImage, TMovingImage, TMetricImage>
49{
50public:
56
58 itkNewMacro(Self);
59
61 itkOverrideGetNameOfClassMacro(NormalizedCrossCorrelationFFTMetricImageFilter);
62
64 static constexpr unsigned int ImageDimension = TFixedImage::ImageDimension;
65
68 using FixedImageConstPointerType = typename FixedImageType::ConstPointer;
69
72 using MovingImageConstPointerType = typename MovingImageType::ConstPointer;
73
76 using MetricImagePointerType = typename MetricImageType::Pointer;
77 using MetricImageConstPointerType = typename MetricImageType::ConstPointer;
78 using MetricImageRegionType = typename MetricImageType::RegionType;
79 using MetricImagePixelType = typename MetricImageType::PixelType;
80
91 itkGetConstMacro(SizeGreatestPrimeFactor, SizeValueType);
92 itkSetMacro(SizeGreatestPrimeFactor, SizeValueType);
93
94protected:
96
97 virtual void
98 GenerateData() override;
99
108
118
120
121private:
122 NormalizedCrossCorrelationFFTMetricImageFilter(const Self &); // purposely not implemented
123 void
124 operator=(const Self &); // purposely not implemented
125};
126
127} // end namespace BlockMatching
128} // end namespace itk
129
130#ifndef ITK_MANUAL_INSTANTIATION
131# include "itkBlockMatchingNormalizedCrossCorrelationFFTMetricImageFilter.hxx"
132#endif
133
134#endif
NormalizedCrossCorrelationMetricImageFilter< TFixedImage, TMovingImage, TMetricImage > Superclass
MultiplyImageFilter< ComplexImageType, ComplexImageType, ComplexImageType > MultiplyFilterType
Computes pixel-wise the complex conjugate of a complex image.
Increase the image size by padding with a constant value.
Shift the zero-frequency components of a Fourier transform to the center of the image.
Base class for specialized complex-to-real inverse Fast Fourier Transform.
Pixel-wise multiplication of two images.
Base class for specialized real-to-complex forward Fast Fourier Transform.
Image< std::complex< typename MetricImageType::PixelType >, MetricImageType::ImageDimension > OutputImageType
Decrease the image size by cropping the image by an itk::Size at both the upper and lower bounds of t...
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Definition itkIntTypes.h:82
#define itkSetMacro(name, type)