18 #ifndef itkMatchCardinalityImageToImageMetric_h
19 #define itkMatchCardinalityImageToImageMetric_h
66 template<
typename TFixedImage,
typename TMovingImage >
86 using RealType =
typename Superclass::RealType;
105 itkWarningMacro(<<
"This metric does not provide metric derivatives.");
116 MeasureType GetValue(
const TransformParametersType & parameters)
const override;
124 itkSetMacro(MeasureMatches,
bool);
125 itkBooleanMacro(MeasureMatches);
126 itkGetConstMacro(MeasureMatches,
bool);
131 {
return m_Threader; }
136 void PrintSelf(std::ostream & os,
Indent indent)
const override;
143 MeasureType GetNonconstValue(
const TransformParametersType & parameters);
150 void ThreadedGetValue(
const FixedImageRegionType & outputRegionForThread,
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkMatchCardinalityImageToImageMetric.hxx"
typename FixedImageType::RegionType FixedImageRegionType
Array class with size defined at construction time.
Light weight base class for most itk classes.
Define numeric traits for std::vector.
typename TransformType::JacobianType TransformJacobianType
std::vector< SizeValueType > m_ThreadCounts
itk::ITK_THREAD_RETURN_TYPE ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
Computes similarity between two objects to be registered.
void Fill(TValue const &v)
TMovingImage MovingImageType
typename TransformType::ParametersType TransformParametersType
MultiThreaderBase::Pointer m_Threader
A class for performing multithreaded execution.
MultiThreaderBase * GetMultiThreader()
typename FixedImageType::ConstPointer FixedImageConstPointer
unsigned int ThreadIdType
std::vector< MeasureType > m_ThreadMatches
typename TransformType::Pointer TransformPointer
typename NumericTraits< MovingImagePixelType >::RealType RealType
TFixedImage FixedImageType
Control indentation during Print() invocation.
Computes similarity between regions of two images.
void GetDerivative(const TransformParametersType &, DerivativeType &derivative) const override
A templated class holding a n-Dimensional covariant vector.
typename MovingImageType::ConstPointer MovingImageConstPointer