18 #ifndef itkMatchCardinalityImageToImageMetric_h
19 #define itkMatchCardinalityImageToImageMetric_h
66 template<
typename TFixedImage,
typename TMovingImage >
104 itkWarningMacro(<<
"This metric does not provide metric derivatives.");
123 itkSetMacro(MeasureMatches,
bool);
124 itkBooleanMacro(MeasureMatches);
125 itkGetConstMacro(MeasureMatches,
bool);
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkMatchCardinalityImageToImageMetric.hxx"
Array class with size defined at construction time.
MatchCardinalityImageToImageMetric()
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformType TransformType
Superclass::RealType RealType
MultiThreader::Pointer m_Threader
Light weight base class for most itk classes.
SmartPointer< Self > Pointer
virtual ThreadIdType SplitFixedRegion(ThreadIdType i, int num, FixedImageRegionType &splitRegion)
std::vector< SizeValueType > m_ThreadCounts
TransformType::Pointer TransformPointer
NumericTraits< MovingImagePixelType >::RealType RealType
Superclass::MovingImageType MovingImageType
virtual ~MatchCardinalityImageToImageMetric()
Superclass::DerivativeType DerivativeType
MovingImageType::ConstPointer MovingImageConstPointer
#define ITK_THREAD_RETURN_TYPE
Computes similarity between two objects to be registered.
Superclass::MeasureType MeasureType
ImageToImageMetric< TFixedImage, TMovingImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
TFixedImage FixedImageType
Superclass::FixedImageType FixedImageType
MultiThreader * GetMultiThreader()
Class to hold and manage different parameter types used during optimization.
TMovingImage MovingImageType
MeasureType GetNonconstValue(const TransformParametersType ¶meters)
Superclass::TransformPointer TransformPointer
MatchCardinalityImageToImageMetric Self
Superclass::FixedImageRegionType FixedImageRegionType
virtual void ThreadedGetValue(const FixedImageRegionType &outputRegionForThread, ThreadIdType threadId)
SmartPointer< const Self > ConstPointer
unsigned int ThreadIdType
std::vector< MeasureType > m_ThreadMatches
TransformType::JacobianType TransformJacobianType
Superclass::TransformJacobianType TransformJacobianType
Superclass::GradientPixelType GradientPixelType
Superclass::DerivativeType DerivativeType
static ITK_THREAD_RETURN_TYPE ThreaderCallback(void *arg)
Control indentation during Print() invocation.
FixedImageType::ConstPointer FixedImageConstPointer
Superclass::MovingImageConstPointer MovingImageConstPointer
MeasureType GetValue(const TransformParametersType ¶meters) const override
Define additional traits for native types such as int or float.
Superclass::MeasureType MeasureType
void operator=(const Self &)
CovariantVector< RealType, itkGetStaticConstMacro(MovingImageDimension) > GradientPixelType
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension) > TransformType
Computes similarity between regions of two images.
void GetDerivative(const TransformParametersType &, DerivativeType &derivative) const override
TransformType::ParametersType TransformParametersType
FixedImageType::RegionType FixedImageRegionType
Superclass::TransformParametersType TransformParametersType