18 #ifndef itkMatchCardinalityImageToImageMetric_h 19 #define itkMatchCardinalityImageToImageMetric_h 66 template<
typename TFixedImage,
typename TMovingImage >
102 DerivativeType & derivative)
const ITK_OVERRIDE
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);
173 void operator=(const Self &) ITK_DELETE_FUNCTION;
185 #ifndef ITK_MANUAL_INSTANTIATION 186 #include "itkMatchCardinalityImageToImageMetric.hxx" MatchCardinalityImageToImageMetric()
Superclass::FixedImageConstPointer FixedImageConstPointer
Superclass::TransformType TransformType
Superclass::RealType RealType
MultiThreader::Pointer m_Threader
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< Self > Pointer
virtual ThreadIdType SplitFixedRegion(ThreadIdType i, int num, FixedImageRegionType &splitRegion)
std::vector< SizeValueType > m_ThreadCounts
TransformType::Pointer TransformPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
NumericTraits< MovingImagePixelType >::RealType RealType
Superclass::MovingImageType MovingImageType
virtual ~MatchCardinalityImageToImageMetric()
Superclass::DerivativeType DerivativeType
MovingImageType::ConstPointer MovingImageConstPointer
unsigned long SizeValueType
#define ITK_THREAD_RETURN_TYPE
Computes similarity between two objects to be registered.
Superclass::MeasureType MeasureType
ImageToImageMetric< TFixedImage, TMovingImage > Superclass
void GetDerivative(const TransformParametersType &, DerivativeType &derivative) const override
TFixedImage FixedImageType
Superclass::FixedImageType FixedImageType
MultiThreader * GetMultiThreader()
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
MeasureType GetValue(const TransformParametersType ¶meters) const override
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
Define additional traits for native types such as int or float.
Superclass::MeasureType MeasureType
CovariantVector< RealType, itkGetStaticConstMacro(MovingImageDimension) > GradientPixelType
Transform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingImageDimension), itkGetStaticConstMacro(FixedImageDimension) > TransformType
Computes similarity between regions of two images.
TransformType::ParametersType TransformParametersType
FixedImageType::RegionType FixedImageRegionType
Superclass::TransformParametersType TransformParametersType