ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkPhaseCorrelationOperator.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 itkPhaseCorrelationOperator_h
19#define itkPhaseCorrelationOperator_h
20
22#include <complex>
23
24namespace itk
25{
41template <typename TRealPixel, unsigned int VImageDimension>
42class ITK_TEMPLATE_EXPORT PhaseCorrelationOperator
43 : public ImageToImageFilter<Image<std::complex<TRealPixel>, VImageDimension>,
44 Image<std::complex<TRealPixel>, VImageDimension>>
45{
46public:
47 ITK_DISALLOW_COPY_AND_MOVE(PhaseCorrelationOperator);
48
51 Image<std::complex<TRealPixel>, VImageDimension>>;
55
57 itkNewMacro(Self);
58
60 itkOverrideGetNameOfClassMacro(PhaseCorrelationOperator);
61
63 static constexpr unsigned int ImageDimension = VImageDimension;
64
66 using PixelType = TRealPixel;
67 using ComplexType = std::complex<PixelType>;
72
74 void
75 SetFixedImage(ImageType * fixedImage);
76
78 void
79 SetMovingImage(ImageType * movingImage);
80
81protected:
83 ~PhaseCorrelationOperator() override = default;
84 void
85 PrintSelf(std::ostream & os, Indent indent) const override;
86
90 void
92
95 void
97 void
99
102 void
103 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
104};
105
106} // end namespace itk
107
108#ifndef ITK_MANUAL_INSTANTIATION
109# include "itkPhaseCorrelationOperator.hxx"
110#endif
111
112#endif
Base class for all data objects in ITK.
Simulate a standard C array with copy semantics.
typename OutputImageType::RegionType OutputImageRegionType
Templated n-dimensional image class.
Definition itkImage.h:89
SmartPointer< const Self > ConstPointer
Definition itkImage.h:97
Control indentation during Print() invocation.
Definition itkIndent.h:53
~PhaseCorrelationOperator() override=default
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
void GenerateInputRequestedRegion() override
void SetFixedImage(ImageType *fixedImage)
void GenerateOutputInformation() override
void SetMovingImage(ImageType *movingImage)
ImageToImageFilter< Image< std::complex< InternalPixelType >, VImageDimension >, Image< std::complex< InternalPixelType >, VImageDimension > > Superclass
void EnlargeOutputRequestedRegion(DataObject *output) override
void PrintSelf(std::ostream &os, Indent indent) const override
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....