18 #ifndef itkMatchCardinalityImageToImageMetric_h
19 #define itkMatchCardinalityImageToImageMetric_h
66 template <
typename TFixedImage,
typename TMovingImage>
85 using RealType =
typename Superclass::RealType;
104 itkWarningMacro(<<
"This metric does not provide metric derivatives.");
116 GetValue(
const TransformParametersType & parameters)
const override;
124 itkSetMacro(MeasureMatches,
bool);
125 itkBooleanMacro(MeasureMatches);
126 itkGetConstMacro(MeasureMatches,
bool);
140 PrintSelf(std::ostream & os,
Indent indent)
const override;
148 GetNonconstValue(
const TransformParametersType & parameters);
155 ThreadedGetValue(
const FixedImageRegionType & regionForThread,
ThreadIdType threadId);
163 SplitFixedRegion(
ThreadIdType i,
int num, FixedImageRegionType & splitRegion);
169 ThreaderCallback(
void * arg);
189 #ifndef ITK_MANUAL_INSTANTIATION
190 # include "itkMatchCardinalityImageToImageMetric.hxx"