ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet > Class Template Reference

#include <itkLabeledPointSetToPointSetMetricv4.h>

+ Inheritance diagram for itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >:
+ Collaboration diagram for itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >:

Detailed Description

template<class TFixedPointSet, class TMovingPointSet = TFixedPointSet>
class itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >

Computes the distance metric and gradient between two labeled point sets.

This class is generic in that it takes an unlabeled point set metric, such as one of the following options

where it is assumed that the point set PixelType associated with each point is a label (i.e. LabelType). This class is used to find the total metric and total derivative based on the matching between the separate fixed and moving labeled point sets. This class first determines the common label set between the fixed and moving point sets. For each common label, the specified unlabeled point set metric is cloned and the fixed and moving point subset associated with that common label is specified as the fixed and moving point set input. Functionality in the base class (PointSetToPointSetMetric) is used to accumulated the value and gradient.

Author
Nick Tustison

Definition at line 53 of file itkLabeledPointSetToPointSetMetricv4.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef FixedPointSetType::Pointer FixedPointSetPointer
 
typedef TFixedPointSet FixedPointSetType
 
typedef std::vector< LabelTypeLabelSetType
 
typedef Superclass::PixelType LabelType
 
typedef
Superclass::LocalDerivativeType 
LocalDerivativeType
 
typedef Superclass::MeasureType MeasureType
 
typedef MovingPointSetType::Pointer MovingPointSetPointer
 
typedef TMovingPointSet MovingPointSetType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointIdentifier PointIdentifier
 
typedef PointSetMetricType::Pointer PointSetMetricPointer
 
typedef Superclass PointSetMetricType
 
typedef Superclass::PointType PointType
 
typedef
LabeledPointSetToPointSetMetricv4 
Self
 
typedef
PointSetToPointSetMetricv4
< TFixedPointSet,
TMovingPointSet > 
Superclass
 
- Public Types inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >
typedef SmartPointer< const SelfConstPointer
 
typedef PointType::CoordRepType CoordRepType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef Superclass::DimensionType DimensionType
 
typedef
Superclass::MovingDisplacementFieldTransformType 
DisplacementFieldTransformType
 
typedef
Superclass::FixedInputPointType 
FixedInputPointType
 
typedef
Superclass::FixedOutputPointType 
FixedOutputPointType
 
typedef TFixedPointSet::PixelType FixedPixelType
 
typedef
TFixedPointSet::PointsContainer 
FixedPointsContainer
 
typedef TFixedPointSet FixedPointSetType
 
typedef TFixedPointSet::PointType FixedPointType
 
typedef PointSet
< FixedPixelType,
itkGetStaticConstMacro(PointDimension)> 
FixedTransformedPointSetType
 
typedef
Superclass::FixedTransformJacobianType 
FixedTransformJacobianType
 
typedef
Superclass::FixedTransformParametersType 
FixedTransformParametersType
 
typedef
Superclass::FixedTransformPointer 
FixedTransformPointer
 
typedef
Superclass::FixedTransformType 
FixedTransformType
 
typedef Superclass::JacobianType JacobianType
 
typedef FixedArray
< DerivativeValueType,
itkGetStaticConstMacro(PointDimension)> 
LocalDerivativeType
 
typedef Superclass::MeasureType MeasureType
 
typedef
Superclass::MovingInputPointType 
MovingInputPointType
 
typedef
Superclass::MovingOutputPointType 
MovingOutputPointType
 
typedef TMovingPointSet::PixelType MovingPixelType
 
typedef
TMovingPointSet::PointsContainer 
MovingPointsContainer
 
typedef TMovingPointSet MovingPointSetType
 
typedef TMovingPointSet::PointType MovingPointType
 
typedef PointSet
< MovingPixelType,
itkGetStaticConstMacro(PointDimension)> 
MovingTransformedPointSetType
 
typedef
Superclass::MovingTransformJacobianType 
MovingTransformJacobianType
 
typedef
Superclass::MovingTransformParametersType 
MovingTransformParametersType
 
typedef
Superclass::MovingTransformPointer 
MovingTransformPointer
 
typedef
Superclass::MovingTransformType 
MovingTransformType
 
typedef
PointsLocatorType::NeighborsIdentifierType 
NeighborsIdentifierType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef FixedPixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef
PointsContainer::ElementIdentifier 
PointIdentifier
 
typedef
PointsContainer::ConstIterator 
PointsConstIterator
 
typedef FixedPointsContainer PointsContainer
 
typedef PointsLocator
< PointIdentifier,
itkGetStaticConstMacro(PointDimension),
CoordRepType, PointsContainer
PointsLocatorType
 
typedef FixedPointType PointType
 
typedef PointSetToPointSetMetricv4 Self
 
typedef ObjectToObjectMetric
< TFixedPointSet::PointDimension,
TMovingPointSet::PointDimension > 
Superclass
 
typedef
Superclass::VirtualDirectionType 
VirtualDirectionType
 
typedef
Superclass::VirtualImagePointer 
VirtualImagePointer
 
typedef
Superclass::VirtualImageType 
VirtualImageType
 
typedef
Superclass::VirtualIndexType 
VirtualIndexType
 
typedef
Superclass::VirtualPointType 
VirtualOriginType
 
typedef
Superclass::VirtualPixelType 
VirtualPixelType
 
typedef
Superclass::VirtualPointSetPointer 
VirtualPointSetPointer
 
typedef
Superclass::VirtualPointSetType 
VirtualPointSetType
 
typedef
Superclass::VirtualPointType 
VirtualPointType
 
typedef Superclass::VirtualSizeType VirtualRadiusType
 
typedef
Superclass::VirtualRegionType 
VirtualRegionType
 
typedef Superclass::VirtualSizeType VirtualSizeType
 
typedef
Superclass::VirtualSpacingType 
VirtualSpacingType
 
- Public Types inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TMovingPointSet::PointDimension >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef
Superclass::DerivativeValueType 
DerivativeValueType
 
typedef SizeValueType DimensionType
 
typedef
FixedTransformType::InputPointType 
FixedInputPointType
 
typedef
FixedTransformType::OutputPointType 
FixedOutputPointType
 
typedef
FixedTransformType::JacobianType 
FixedTransformJacobianType
 
typedef
FixedTransformType::ParametersType 
FixedTransformParametersType
 
typedef FixedTransformType::Pointer FixedTransformPointer
 
typedef Transform
< ParametersValueType, Image
< typename
ObjectToObjectMetricBase::ParametersValueType,
TFixedDimension >
::ImageDimension,
TFixedDimension > 
FixedTransformType
 
typedef
Superclass::InternalComputationValueType 
InternalComputationValueType
 
typedef
FixedTransformType::JacobianType 
JacobianType
 
typedef Superclass::MeasureType MeasureType
 
typedef
DisplacementFieldTransform
< CoordinateRepresentationType,
itkGetStaticConstMacro(MovingDimension) > 
MovingDisplacementFieldTransformType
 
typedef
MovingTransformType::InputPointType 
MovingInputPointType
 
typedef
MovingTransformType::OutputPointType 
MovingOutputPointType
 
typedef
MovingTransformType::JacobianType 
MovingTransformJacobianType
 
typedef
MovingTransformType::ParametersType 
MovingTransformParametersType
 
typedef
MovingTransformType::Pointer 
MovingTransformPointer
 
typedef Transform
< ParametersValueType, Image
< typename
ObjectToObjectMetricBase::ParametersValueType,
TFixedDimension >
::ImageDimension,
TMovingDimension > 
MovingTransformType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ObjectToObjectMetric Self
 
typedef ObjectToObjectMetricBase Superclass
 
typedef
VirtualImageType::DirectionType 
VirtualDirectionType
 
typedef
VirtualImageType::ConstPointer 
VirtualImageConstPointer
 
typedef VirtualImageType::Pointer VirtualImagePointer
 
typedef Image< typename
ObjectToObjectMetricBase::ParametersValueType,
TFixedDimension > 
VirtualImageType
 
typedef VirtualImageType::IndexType VirtualIndexType
 
typedef VirtualImageType::PointType VirtualOriginType
 
typedef VirtualImageType::PixelType VirtualPixelType
 
typedef
VirtualPointSetType::Pointer 
VirtualPointSetPointer
 
typedef PointSet
< VirtualPixelType,
itkGetStaticConstMacro(VirtualDimension)> 
VirtualPointSetType
 
typedef VirtualImageType::PointType VirtualPointType
 
typedef VirtualImageType::SizeType VirtualRadiusType
 
typedef
VirtualImageType::RegionType 
VirtualRegionType
 
typedef VirtualRegionType::SizeType VirtualSizeType
 
typedef
VirtualImageType::SpacingType 
VirtualSpacingType
 
- Public Types inherited from itk::ObjectToObjectMetricBase
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ParametersValueType 
CoordinateRepresentationType
 
typedef Superclass::DerivativeType DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
enum  GradientSourceType {
  GRADIENT_SOURCE_FIXED =0,
  GRADIENT_SOURCE_MOVING,
  GRADIENT_SOURCE_BOTH
}
 
typedef double InternalComputationValueType
 
typedef Superclass::MeasureType MeasureType
 
typedef unsigned int NumberOfParametersType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef ObjectToObjectMetricBase Self
 
typedef SingleValuedCostFunctionv4 Superclass
 
- Public Types inherited from itk::SingleValuedCostFunctionv4
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef double MeasureType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef SingleValuedCostFunctionv4 Self
 
typedef CostFunction Superclass
 
- Public Types inherited from itk::CostFunction
typedef SmartPointer< const SelfConstPointer
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef double ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef CostFunction Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual MeasureType GetLocalNeighborhoodValue (const PointType &, const LabelType &) const
 
virtual void GetLocalNeighborhoodValueAndDerivative (const PointType &, MeasureType &, LocalDerivativeType &, const LabelType &) const
 
virtual const char * GetNameOfClass () const
 
virtual void Initialize (void) throw ( ExceptionObject )
 
 typedef (Concept::IsInteger< LabelType >) LabelTypeIsInteger
 
virtual void SetPointSetMetric (PointSetMetricType *_arg)
 
virtual PointSetMetricTypeGetPointSetMetric ()
 
- Public Member Functions inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >
virtual void GetDerivative (DerivativeType &) const
 
virtual const FixedPointSetTypeGetFixedPointSet ()
 
virtual const
FixedTransformedPointSetType
GetFixedTransformedPointSet ()
 
virtual LocalDerivativeType GetLocalNeighborhoodDerivative (const PointType &, const PixelType &pixel=0) const
 
virtual MeasureType GetLocalNeighborhoodValue (const PointType &, const PixelType &pixel=0) const =0
 
virtual void GetLocalNeighborhoodValueAndDerivative (const PointType &, MeasureType &, LocalDerivativeType &, const PixelType &pixel=0) const =0
 
virtual const MovingPointSetTypeGetMovingPointSet ()
 
virtual const
MovingTransformedPointSetType
GetMovingTransformedPointSet ()
 
SizeValueType GetNumberOfComponents () const
 
virtual MeasureType GetValue () const
 
virtual void GetValueAndDerivative (MeasureType &, DerivativeType &) const
 
const VirtualPointSetTypeGetVirtualTransformedPointSet ()
 
virtual void SetFixedPointSet (const FixedPointSetType *_arg)
 
virtual void SetMovingPointSet (MovingPointSetType *_arg)
 
virtual bool SupportsArbitraryVirtualDomainSamples (void) const
 
- Public Member Functions inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TMovingPointSet::PointDimension >
OffsetValueType ComputeParameterOffsetFromVirtualIndex (const VirtualIndexType &index, const NumberOfParametersType &numberOfLocalParameters) const
 
OffsetValueType ComputeParameterOffsetFromVirtualPoint (const VirtualPointType &point, const NumberOfParametersType &numberOfLocalParameters) const
 
virtual const FixedTransformTypeGetFixedTransform ()
 
virtual const MovingTransformTypeGetMovingTransform ()
 
virtual NumberOfParametersType GetNumberOfLocalParameters () const
 
virtual NumberOfParametersType GetNumberOfParameters () const
 
virtual SizeValueType GetNumberOfValidPoints () const
 
virtual const ParametersTypeGetParameters () const
 
const MovingTransformTypeGetTransform ()
 
VirtualDirectionType GetVirtualDirection (void) const
 
virtual const TimeStampGetVirtualDomainTimeStamp (void) const
 
virtual const VirtualImageTypeGetVirtualImage ()
 
VirtualOriginType GetVirtualOrigin (void) const
 
const VirtualRegionTypeGetVirtualRegion (void) const
 
VirtualSpacingType GetVirtualSpacing (void) const
 
virtual bool HasLocalSupport () const
 
virtual void SetFixedTransform (FixedTransformType *_arg)
 
virtual void SetMovingTransform (MovingTransformType *_arg)
 
virtual void SetParameters (ParametersType &params)
 
void SetTransform (MovingTransformType *transform)
 
void SetVirtualDomain (const VirtualSpacingType &spacing, const VirtualOriginType &origin, const VirtualDirectionType &direction, const VirtualRegionType &region)
 
virtual void UpdateTransformParameters (const DerivativeType &derivative, ParametersValueType factor)
 
void SetVirtualDomainFromImage (VirtualImageType *virtualImage)
 
void SetVirtualDomainFromImage (const VirtualImageType *virtualImage)
 
bool IsInsideVirtualDomain (const VirtualPointType &point) const
 
bool IsInsideVirtualDomain (const VirtualIndexType &index) const
 
- Public Member Functions inherited from itk::ObjectToObjectMetricBase
MeasureType GetCurrentValue () const
 
virtual GradientSourceType GetGradientSource () const
 
bool GetGradientSourceIncludesFixed () const
 
bool GetGradientSourceIncludesMoving () const
 
virtual void GetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const =0
 
virtual void SetGradientSource (GradientSourceType _arg)
 
- Public Member Functions inherited from itk::SingleValuedCostFunctionv4
virtual void GetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const =0
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 LabeledPointSetToPointSetMetricv4 ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual ~LabeledPointSetToPointSetMetricv4 ()
 
- Protected Member Functions inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >
virtual SizeValueType CalculateNumberOfValidFixedPoints (void) const
 
void CalculateValueAndDerivative (MeasureType &value, DerivativeType &derivative, bool calculateValue) const
 
virtual void InitializeForIteration (void) const
 
virtual void InitializePointSets (void) const
 
void InitializePointsLocators () const
 
 PointSetToPointSetMetricv4 ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void StorePointDerivative (const VirtualPointType &, const DerivativeType &, DerivativeType &) const
 
void TransformFixedAndCreateVirtualPointSet () const
 
void TransformMovingPointSet () const
 
virtual ~PointSetToPointSetMetricv4 ()
 
- Protected Member Functions inherited from itk::ObjectToObjectMetric< TFixedPointSet::PointDimension, TMovingPointSet::PointDimension >
MovingDisplacementFieldTransformTypeGetMovingDisplacementFieldTransform () const
 
 ObjectToObjectMetric ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
bool TransformPhysicalPointToVirtualIndex (const VirtualPointType &, VirtualIndexType &) const
 
void TransformVirtualIndexToPhysicalPoint (const VirtualIndexType &, VirtualPointType &) const
 
virtual void VerifyDisplacementFieldSizeAndPhysicalSpace ()
 
bool VerifyNumberOfValidPoints (MeasureType &value, DerivativeType &derivative) const
 
virtual ~ObjectToObjectMetric ()
 
- Protected Member Functions inherited from itk::ObjectToObjectMetricBase
 ObjectToObjectMetricBase ()
 
virtual ~ObjectToObjectMetricBase ()
 
- Protected Member Functions inherited from itk::SingleValuedCostFunctionv4
 SingleValuedCostFunctionv4 ()
 
virtual ~SingleValuedCostFunctionv4 ()
 
- Protected Member Functions inherited from itk::CostFunction
 CostFunction ()
 
virtual ~CostFunction ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void DetermineCommonPointSetLabels ()
 
FixedPointSetPointer GetLabeledFixedPointSet (const LabelType) const
 
MovingPointSetPointer GetLabeledMovingPointSet (const LabelType) const
 
 LabeledPointSetToPointSetMetricv4 (const Self &)
 
void operator= (const Self &)
 

Private Attributes

LabelSetType m_CommonPointSetLabels
 
LabelSetType m_FixedPointSetLabels
 
LabelSetType m_MovingPointSetLabels
 
PointSetMetricPointer m_PointSetMetric
 
std::vector
< PointSetMetricPointer
m_PointSetMetricClones
 

Additional Inherited Members

- Static Public Attributes inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >
static const DimensionType FixedPointDimension = Superclass::FixedDimension
 
static const DimensionType MovingPointDimension = Superclass::MovingDimension
 
static const DimensionType PointDimension = Superclass::FixedDimension
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >
FixedPointSetType::ConstPointer m_FixedPointSet
 
FixedTransformedPointSetType::Pointer m_FixedTransformedPointSet
 
PointsLocatorType::Pointer m_FixedTransformedPointsLocator
 
MovingPointSetType::ConstPointer m_MovingPointSet
 
MovingTransformedPointSetType::Pointer m_MovingTransformedPointSet
 
PointsLocatorType::Pointer m_MovingTransformedPointsLocator
 
bool m_UsePointSetData
 
VirtualPointSetPointer m_VirtualTransformedPointSet
 

Member Typedef Documentation

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef SmartPointer<const Self> itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::ConstPointer

Definition at line 62 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass::DerivativeType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::DerivativeType

Definition at line 77 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef FixedPointSetType::Pointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::FixedPointSetPointer

Definition at line 71 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef TFixedPointSet itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::FixedPointSetType

Definition at line 68 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef std::vector<LabelType> itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::LabelSetType

Definition at line 83 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass::PixelType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::LabelType

Definition at line 82 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass::LocalDerivativeType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::LocalDerivativeType

Definition at line 78 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass::MeasureType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::MeasureType

Types transferred from the base class

Definition at line 76 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef MovingPointSetType::Pointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::MovingPointSetPointer

Definition at line 73 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef TMovingPointSet itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::MovingPointSetType

Definition at line 72 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef SmartPointer<Self> itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::Pointer

Definition at line 61 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass::PointIdentifier itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::PointIdentifier

Definition at line 80 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef PointSetMetricType::Pointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::PointSetMetricPointer

Definition at line 86 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::PointSetMetricType

Definition at line 85 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef Superclass::PointType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::PointType

Definition at line 79 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef LabeledPointSetToPointSetMetricv4 itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::Self

Standard class typedefs.

Definition at line 59 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
typedef PointSetToPointSetMetricv4<TFixedPointSet, TMovingPointSet> itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::Superclass

Definition at line 60 of file itkLabeledPointSetToPointSetMetricv4.h.

Constructor & Destructor Documentation

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::LabeledPointSetToPointSetMetricv4 ( )
protected
template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::~LabeledPointSetToPointSetMetricv4 ( )
protectedvirtual
template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::LabeledPointSetToPointSetMetricv4 ( const Self )
private

Member Function Documentation

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual::itk::LightObject::Pointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
void itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::DetermineCommonPointSetLabels ( )
private

Private function to find the common label set for the moving and fixed point sets.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
FixedPointSetPointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::GetLabeledFixedPointSet ( const LabelType  ) const
private

Private function to create a fixed point set from the input fixed point set with a specific label

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
MovingPointSetPointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::GetLabeledMovingPointSet ( const LabelType  ) const
private

Private function to create a moving point set from the input moving point set with a specific label

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual MeasureType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::GetLocalNeighborhoodValue ( const PointType ,
const LabelType  
) const
virtual

Calculates the local metric value for a single point. The label type is used to segregate the computation.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual void itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::GetLocalNeighborhoodValueAndDerivative ( const PointType ,
MeasureType ,
LocalDerivativeType ,
const LabelType  
) const
virtual

Calculates the local value and derivative for a single point. The label type is used to segregate the computation.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual const char* itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual PointSetMetricType* itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::GetPointSetMetric ( )
virtual

Set/get the specific unlabeled point set metric type. Default is the EuclideanDistancePointSetToPointSetMetricv4.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual void itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::Initialize ( void  ) throw ( ExceptionObject )
virtual

Initialize the metric by making sure that all the components are present and plugged together correctly.

Reimplemented from itk::PointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
static Pointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::New ( )
static

Method for creation through the object factory.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
void itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::operator= ( const Self )
private
template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
void itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

PrintSelf function

Reimplemented from itk::ObjectToObjectMetricBase.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
virtual void itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::SetPointSetMetric ( PointSetMetricType _arg)
virtual

Set/get the specific unlabeled point set metric type. Default is the EuclideanDistancePointSetToPointSetMetricv4.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::typedef ( Concept::IsInteger< LabelType )

Ensure label type is an integer typeThis class requires LabelTypeIsInteger in the form of ( Concept::IsInteger<LabelType> )

Member Data Documentation

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
LabelSetType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::m_CommonPointSetLabels
private

Definition at line 154 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
LabelSetType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::m_FixedPointSetLabels
private

Definition at line 152 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
LabelSetType itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::m_MovingPointSetLabels
private

Definition at line 153 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
PointSetMetricPointer itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::m_PointSetMetric
private

Definition at line 149 of file itkLabeledPointSetToPointSetMetricv4.h.

template<class TFixedPointSet , class TMovingPointSet = TFixedPointSet>
std::vector<PointSetMetricPointer> itk::LabeledPointSetToPointSetMetricv4< TFixedPointSet, TMovingPointSet >::m_PointSetMetricClones
private

Definition at line 150 of file itkLabeledPointSetToPointSetMetricv4.h.


The documentation for this class was generated from the following file: