ITK  4.13.0
Insight Segmentation and Registration Toolkit
itkFFTNormalizedCorrelationImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 {
97 
98 template <typename TInputImage, typename TOutputImage >
99 class ITK_TEMPLATE_EXPORT FFTNormalizedCorrelationImageFilter :
100  public MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage >
101 {
102 public:
108 
110  itkNewMacro(Self);
111 
114 
117  itkStaticConstMacro(ImageDimension, unsigned int,
118  TOutputImage::ImageDimension);
119 
121  typedef TInputImage InputImageType;
122  typedef TOutputImage OutputImageType;
123  typedef typename InputImageType::RegionType InputRegionType;
124  typedef typename InputImageType::Pointer InputImagePointer;
125  typedef typename InputImageType::ConstPointer InputImageConstPointer;
127  typedef typename OutputImageType::Pointer OutputImagePointer;
128  typedef typename OutputImageType::PixelType OutputPixelType;
129 
130 protected:
132  {
133  Self::RemoveInput("MovingImageMask");
134  Self::RemoveInput("FixedImageMask");
135  }
136  virtual ~FFTNormalizedCorrelationImageFilter() ITK_OVERRIDE {}
137  void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
138 
140  void GenerateData() ITK_OVERRIDE;
141 
142 private:
143  ITK_DISALLOW_COPY_AND_ASSIGN(FFTNormalizedCorrelationImageFilter);
144 
145  // Member variables.
146 };
147 } // end namespace itk
148 
149 #ifndef ITK_MANUAL_INSTANTIATION
150 #include "itkFFTNormalizedCorrelationImageFilter.hxx"
151 #endif
152 
153 #endif
Calculate normalized cross correlation using FFTs.
Base class for all process objects that output image data.
MaskedFFTNormalizedCorrelationImageFilter< TInputImage, TOutputImage > Superclass
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Calculate masked normalized cross correlation using FFTs.