17 #ifndef __itkMatchCardinalityImageToImageMetric_h
18 #define __itkMatchCardinalityImageToImageMetric_h
23 #include "itkConfigure.h"
25 #ifdef ITK_USE_OPTIMIZED_REGISTRATION_METHODS
70 template <
class TFixedImage,
class TMovingImage >
90 typedef typename Superclass::RealType
RealType;
112 itkWarningMacro(<<
"This metric does not provide metric derivatives.");
122 MeasureType GetValue(
const TransformParametersType & parameters )
const;
130 itkSetMacro(MeasureMatches,
bool);
131 itkBooleanMacro(MeasureMatches);
132 itkGetConstMacro(MeasureMatches,
bool);
136 itkGetConstReferenceMacro( NumberOfThreads,
int );
145 void PrintSelf(std::ostream& os,
Indent indent)
const;
152 MeasureType GetNonconstValue(
const TransformParametersType & parameters );
159 void ThreadedGetValue(
const FixedImageRegionType& outputRegionForThread,
168 int SplitFixedRegion(
int i,
int num, FixedImageRegionType& splitRegion);
183 void operator=(
const Self&);
198 #ifndef ITK_MANUAL_INSTANTIATION