ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlockMatchingMultiResolutionFixedSearchRegionImageSource.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 itkBlockMatchingMultiResolutionFixedSearchRegionImageSource_h
19#define itkBlockMatchingMultiResolutionFixedSearchRegionImageSource_h
20
22
23namespace itk
24{
25namespace BlockMatching
26{
27
41template <typename TFixedImage, typename TMovingImage, typename TDisplacementImage>
43 : public MultiResolutionSearchRegionImageSource<TFixedImage, TMovingImage, TDisplacementImage>
44{
45public:
46 ITK_DISALLOW_COPY_AND_MOVE(MultiResolutionFixedSearchRegionImageSource);
47
53
55 static constexpr unsigned int ImageDimension = TMovingImage::ImageDimension;
56
58 using FixedImageType = TFixedImage;
59 using FixedRegionType = typename FixedImageType::RegionType;
60
62 using RadiusType = typename FixedImageType::SizeType;
63
65 using MovingImageType = TMovingImage;
66 using MovingRegionType = typename MovingImageType::RegionType;
67
71
74
77
80
84
87 using DisplacementResamplerPointer = typename DisplacementResamplerType::Pointer;
88
90 itkOverrideGetNameOfClassMacro(MultiResolutionFixedSearchRegionImageSource);
91
93 itkNewMacro(Self);
94
100 virtual void
102
104 virtual void
105 SetSearchRegionRadiusSchedule(const unsigned int rad);
106
107 virtual void
109 {
112 this->Modified();
113 }
114
115 itkGetConstReferenceMacro(SearchRegionRadiusSchedule, RadiusScheduleType);
116
117
118protected:
120
121 void
123
124 void
125 DynamicThreadedGenerateData(const OutputRegionType & outputRegion) override;
126
128
130
131private:
132};
133
134} // namespace BlockMatching
135} // namespace itk
136
137#ifndef ITK_MANUAL_INSTANTIATION
138# include "itkBlockMatchingMultiResolutionFixedSearchRegionImageSource.hxx"
139#endif
140
141#endif
MultiResolutionSearchRegionImageSource< TFixedImage, TMovingImage, TDisplacementImage > Superclass
virtual void SetSearchRegionRadiusSchedule(const RadiusType &radius)
void DynamicThreadedGenerateData(const OutputRegionType &outputRegion) override
virtual void SetSearchRegionRadiusSchedule(const unsigned int rad)
ResampleImageFilter< DisplacementImageType, DisplacementImageType > DisplacementResamplerType
Templated n-dimensional image class.
Definition itkImage.h:89
virtual void Modified() const
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....