ITK  6.0.0
Insight Toolkit
itkFFTNormalizedCorrelationImageFilter.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 itkFFTNormalizedCorrelationImageFilter_h
19#define itkFFTNormalizedCorrelationImageFilter_h
20
22
23namespace itk
24{
102template <typename TInputImage, typename TOutputImage>
103class ITK_TEMPLATE_EXPORT FFTNormalizedCorrelationImageFilter
104 : public MaskedFFTNormalizedCorrelationImageFilter<TInputImage, TOutputImage>
105{
106public:
107 ITK_DISALLOW_COPY_AND_MOVE(FFTNormalizedCorrelationImageFilter);
108
114
116 itkNewMacro(Self);
117
119 itkOverrideGetNameOfClassMacro(FFTNormalizedCorrelationImageFilter);
120
123 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
124
126 using InputImageType = TInputImage;
127 using OutputImageType = TOutputImage;
133 using OutputPixelType = typename OutputImageType::PixelType;
134
135protected:
137 {
138 Self::RemoveInput("MovingImageMask");
139 Self::RemoveInput("FixedImageMask");
140 }
142 void
143 PrintSelf(std::ostream & os, Indent indent) const override;
144
146 void
147 GenerateData() override;
148
149private:
150 // Member variables.
151};
152} // end namespace itk
153
154#ifndef ITK_MANUAL_INSTANTIATION
155# include "itkFFTNormalizedCorrelationImageFilter.hxx"
156#endif
157
158#endif
Calculate normalized cross correlation using FFTs.
~FFTNormalizedCorrelationImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all process objects that output image data.
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Calculate masked normalized cross correlation using FFTs.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....