ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkBlockMatchingImageToImageMetricMetricImageFilter.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 itkBlockMatchingImageToImageMetricMetricImageFilter_h
19#define itkBlockMatchingImageToImageMetricMetricImageFilter_h
20
23
24namespace itk
25{
26namespace BlockMatching
27{
28
39template <typename TFixedImage, typename TMovingImage, typename TMetricImage>
40class ITK_TEMPLATE_EXPORT ImageToImageMetricMetricImageFilter
41 : public MetricImageFilter<TFixedImage, TMovingImage, TMetricImage>
42{
43public:
49
51 itkNewMacro(Self);
52
54 itkOverrideGetNameOfClassMacro(ImageToImageMetricMetricImageFilter);
55
57 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
58
61 using MovingImageSpacingType = typename MovingImageType::SpacingType;
62 using MovingImageRegionType = typename MovingImageType::RegionType;
63
66 using MetricImageSpacingType = typename MetricImageType::SpacingType;
67 using MetricImageRegionType = typename MetricImageType::RegionType;
68
71 void
73 itkGetConstReferenceMacro(MetricImageSpacing, MetricImageSpacingType);
74
75protected:
78
79 virtual void
81
84
85private:
86 ImageToImageMetricMetricImageFilter(const Self &); // purposely not implemented
87 void
88 operator=(const Self &); // purposely not implemented
89};
90
91} // end namespace BlockMatching
92} // end namespace itk
93
94#ifndef ITK_MANUAL_INSTANTIATION
95# include "itkBlockMatchingImageToImageMetricMetricImageFilter.hxx"
96#endif
97
98#endif
void SetMetricImageSpacing(const MetricImageSpacingType &spacing)
MetricImageFilter< TFixedImage, TMovingImage, TMetricImage > Superclass
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....