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