18 #ifndef __itkObjectToObjectMetric_h
19 #define __itkObjectToObjectMetric_h
84 template<
unsigned int TFixedDimension,
unsigned int TMovingDimension,
typename TVirtualImage = Image<
double, TFixedDimension>,
class TInternalComputationValueType=
double>
179 itkGetModifiableObjectMacro(FixedTransform, FixedTransformType);
185 itkGetModifiableObjectMacro(MovingTransform, MovingTransformType);
286 virtual ~ObjectToObjectMetric();
327 ObjectToObjectMetric(const
Self &);
328 void operator=(const Self &);
333 #ifndef ITK_MANUAL_INSTANTIATION
334 #include "itkObjectToObjectMetric.hxx"
VirtualOriginType GetVirtualOrigin(void) const
VirtualImageType::SizeType VirtualRadiusType
Superclass::RegionType RegionType
void SetVirtualDomainFromImage(VirtualImageType *virtualImage)
Superclass::ParametersType ParametersType
Superclass::MeasureType MeasureType
virtual bool HasLocalSupport() const
FixedTransformType::ParametersType FixedTransformParametersType
Light weight base class for most itk classes.
OffsetValueType ComputeParameterOffsetFromVirtualIndex(const VirtualIndexType &index, const NumberOfParametersType &numberOfLocalParameters) const
virtual NumberOfParametersType GetNumberOfParameters() const
Superclass::NumberOfParametersType NumberOfParametersType
VirtualImageType::SpacingType VirtualSpacingType
Transform< TInternalComputationValueType, TVirtualImage::ImageDimension, TFixedDimension > FixedTransformType
virtual void Initialize(void)
VirtualRegionType::SizeType VirtualSizeType
Represent the size (bounds) of a n-dimensional image.
signed long OffsetValueType
TVirtualImage VirtualImageType
bool m_UserHasSetVirtualDomain
bool VerifyNumberOfValidPoints(MeasureType &value, DerivativeType &derivative) const
virtual void VerifyDisplacementFieldSizeAndPhysicalSpace()
ObjectToObjectMetric Self
Superclass::DerivativeValueType DerivativeValueType
const MovingTransformType * GetTransform()
OffsetValueType ComputeParameterOffsetFromVirtualPoint(const VirtualPointType &point, const NumberOfParametersType &numberOfLocalParameters) const
Computes similarity between regions of two objects.
DisplacementFieldTransform< CoordinateRepresentationType, itkGetStaticConstMacro(MovingDimension) > MovingDisplacementFieldTransformType
Base class for all object-to-object similarlity metrics added in ITKv4.
unsigned long SizeValueType
FixedTransformType::OutputPointType FixedOutputPointType
virtual const ParametersType & GetParameters() const
Superclass::MeasureType MeasureType
virtual NumberOfParametersType GetNumberOfLocalParameters() const
Superclass::ParametersType ParametersType
SizeValueType m_NumberOfValidPoints
FixedTransformType::JacobianType JacobianType
Superclass::DerivativeType DerivativeType
SmartPointer< Self > Pointer
MovingTransformPointer m_MovingTransform
VirtualImageType::PointType VirtualOriginType
const MovingDisplacementFieldTransformType * GetMovingDisplacementFieldTransform() const
FixedTransformType::InputPointType FixedInputPointType
Array2D class representing a 2D array with size defined at construction time.
VirtualDirectionType GetVirtualDirection(void) const
unsigned int NumberOfParametersType
VirtualImageType::IndexType VirtualIndexType
VirtualImageType::PixelType VirtualPixelType
Transform< TInternalComputationValueType, TVirtualImage::ImageDimension, TMovingDimension > MovingTransformType
VirtualImageType::Pointer VirtualImagePointer
Superclass::IndexType IndexType
virtual const TimeStamp & GetVirtualDomainTimeStamp(void) const
MovingTransformType::OutputPointType MovingOutputPointType
bool TransformPhysicalPointToVirtualIndex(const VirtualPointType &, VirtualIndexType &) const
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
SizeValueType DimensionType
virtual void UpdateTransformParameters(const DerivativeType &derivative, TInternalComputationValueType factor)
Standard exception handling object.
Generate a unique, increasing time value.
static const DimensionType MovingDimension
VirtualImageType::PointType VirtualPointType
SmartPointer< const Self > ConstPointer
VirtualImageType::DirectionType VirtualDirectionType
virtual void SetParameters(ParametersType ¶ms)
Superclass::GradientSourceType GradientSourceType
VirtualImageType::ConstPointer VirtualImageConstPointer
TInternalComputationValueType CoordinateRepresentationType
DerivativeType::ValueType DerivativeValueType
void PrintSelf(std::ostream &os, Indent indent) const
void SetTransform(MovingTransformType *transform)
const VirtualRegionType & GetVirtualRegion(void) const
FixedTransformPointer m_FixedTransform
FixedTransformType::JacobianType FixedTransformJacobianType
MovingTransformType::Pointer MovingTransformPointer
MovingTransformType::InputPointType MovingInputPointType
VirtualPointSetType::Pointer VirtualPointSetPointer
void TransformVirtualIndexToPhysicalPoint(const VirtualIndexType &, VirtualPointType &) const
FixedTransformType::Pointer FixedTransformPointer
static const DimensionType VirtualDimension
ObjectToObjectMetricBaseTemplate< TInternalComputationValueType > Superclass
PointSet< VirtualPixelType, itkGetStaticConstMacro(VirtualDimension)> VirtualPointSetType
Control indentation during Print() invocation.
Superclass::DerivativeType DerivativeType
MovingTransformType::ParametersType MovingTransformParametersType
VirtualImagePointer m_VirtualImage
VirtualImageType::RegionType VirtualRegionType
bool IsInsideVirtualDomain(const VirtualPointType &point) const
TInternalComputationValueType InternalComputationValueType
void SetVirtualDomain(const VirtualSpacingType &spacing, const VirtualOriginType &origin, const VirtualDirectionType &direction, const VirtualRegionType ®ion)
virtual bool SupportsArbitraryVirtualDomainSamples(void) const =0
MovingTransformType::JacobianType MovingTransformJacobianType
Templated n-dimensional image class.
VirtualSpacingType GetVirtualSpacing(void) const
static const DimensionType FixedDimension