18 #ifndef itkMatchCardinalityImageToImageMetric_h
19 #define itkMatchCardinalityImageToImageMetric_h
66 template<
typename TFixedImage,
typename TMovingImage >
85 typedef typename Superclass::RealType
RealType;
104 itkWarningMacro(<<
"This metric does not provide metric derivatives.");
115 MeasureType GetValue(
const TransformParametersType & parameters)
const ITK_OVERRIDE;
123 itkSetMacro(MeasureMatches,
bool);
124 itkBooleanMacro(MeasureMatches);
125 itkGetConstMacro(MeasureMatches,
bool);
130 {
return m_Threader; }
135 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
142 MeasureType GetNonconstValue(
const TransformParametersType & parameters);
149 void ThreadedGetValue(
const FixedImageRegionType & outputRegionForThread,
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkMatchCardinalityImageToImageMetric.hxx"
Array class with size defined at construction time.
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformType TransformType
Superclass::RealType RealType
MultiThreader::Pointer m_Threader
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
std::vector< SizeValueType > m_ThreadCounts
Superclass::MovingImageType MovingImageType
#define ITK_THREAD_RETURN_TYPE
Computes similarity between two objects to be registered.
Superclass::MeasureType MeasureType
ImageToImageMetric< TFixedImage, TMovingImage > Superclass
Superclass::FixedImageType FixedImageType
MultiThreader * GetMultiThreader()
Superclass::TransformPointer TransformPointer
MatchCardinalityImageToImageMetric Self
Superclass::FixedImageRegionType FixedImageRegionType
SmartPointer< const Self > ConstPointer
unsigned int ThreadIdType
std::vector< MeasureType > m_ThreadMatches
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientPixelType GradientPixelType
Superclass::DerivativeType DerivativeType
Control indentation during Print() invocation.
Superclass::MovingImageConstPointer MovingImageConstPointer
Define additional traits for native types such as int or float.
virtual ~MatchCardinalityImageToImageMetric() override
Computes similarity between regions of two images.
void GetDerivative(const TransformParametersType &, DerivativeType &derivative) const override
TransformType::ParametersType TransformParametersType
Superclass::TransformParametersType TransformParametersType