ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
itk::RegistrationParameterScalesFromIndexShift< TMetric > Class Template Reference

#include <itkRegistrationParameterScalesFromIndexShift.h>

+ Inheritance diagram for itk::RegistrationParameterScalesFromIndexShift< TMetric >:
+ Collaboration diagram for itk::RegistrationParameterScalesFromIndexShift< TMetric >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FixedContinuousIndexType = typename itk::ContinuousIndex< FixedPointValueType, FixedImageType::ImageDimension >
 
using FixedImageConstPointer = typename FixedImageType::ConstPointer
 
using FixedImageType = typename TMetric::FixedImageType
 
using FixedIndexType = typename FixedImageType::IndexType
 
using FixedPointType = typename FixedImageType::PointType
 
using FixedPointValueType = typename FixedImageType::PointValueType
 
using FixedTransformType = typename Superclass::FixedTransformType
 
using FloatType = typename Superclass::FloatType
 
using JacobianType = typename Superclass::JacobianType
 
using MovingContinuousIndexType = typename itk::ContinuousIndex< MovingPointValueType, MovingImageType::ImageDimension >
 
using MovingImageConstPointer = typename MovingImageType::ConstPointer
 
using MovingImageType = typename TMetric::MovingImageType
 
using MovingIndexType = typename MovingImageType::IndexType
 
using MovingPointType = typename MovingImageType::PointType
 
using MovingPointValueType = typename MovingImageType::PointValueType
 
using MovingTransformType = typename Superclass::MovingTransformType
 
using ParametersType = typename Superclass::ParametersType
 
using Pointer = SmartPointer< Self >
 
using ScalesType = typename Superclass::ScalesType
 
using Self = RegistrationParameterScalesFromIndexShift
 
using Superclass = RegistrationParameterScalesFromShiftBase< TMetric >
 
using VirtualImageConstPointer = typename Superclass::VirtualImageConstPointer
 
using VirtualIndexType = typename Superclass::VirtualIndexType
 
using VirtualPointType = typename Superclass::VirtualPointType
 
- Public Types inherited from itk::RegistrationParameterScalesFromShiftBase< TMetric >
using ConstPointer = SmartPointer< const Self >
 
using FixedTransformType = typename Superclass::FixedTransformType
 
using FloatType = typename Superclass::FloatType
 
using JacobianType = typename Superclass::JacobianType
 
using MovingTransformType = typename Superclass::MovingTransformType
 
using ParametersType = typename Superclass::ParametersType
 
using ParametersValueType = typename ParametersType::ValueType
 
using Pointer = SmartPointer< Self >
 
using ScalesType = typename Superclass::ScalesType
 
using Self = RegistrationParameterScalesFromShiftBase
 
using Superclass = RegistrationParameterScalesEstimator< TMetric >
 
using VirtualImageConstPointer = typename Superclass::VirtualImageConstPointer
 
using VirtualIndexType = typename Superclass::VirtualIndexType
 
using VirtualPointType = typename Superclass::VirtualPointType
 
- Public Types inherited from itk::RegistrationParameterScalesEstimator< TMetric >
using ConstPointer = SmartPointer< const Self >
 
using FixedTransformConstPointer = typename FixedTransformType::ConstPointer
 
using FixedTransformType = typename MetricType::FixedTransformType
 
using FloatType = typename Superclass::FloatType
 
using JacobianType = typename TMetric::JacobianType
 
using MetricConstPointer = typename MetricType::ConstPointer
 
using MetricPointer = typename MetricType::Pointer
 
using MetricType = TMetric
 
using MovingTransformConstPointer = typename MovingTransformType::ConstPointer
 
using MovingTransformType = typename MetricType::MovingTransformType
 
using ParametersType = typename Superclass::ParametersType
 
using Pointer = SmartPointer< Self >
 
using SamplePointContainerType = std::vector< VirtualPointType >
 
using SamplingStrategyType = SamplingStrategyEnum
 
using ScalesType = typename Superclass::ScalesType
 
using Self = RegistrationParameterScalesEstimator
 
using Superclass = OptimizerParameterScalesEstimatorTemplate< typename TMetric::ParametersValueType >
 
using VirtualImageConstPointer = typename TMetric::VirtualImageConstPointer
 
using VirtualImagePointer = typename TMetric::VirtualImagePointer
 
using VirtualImageType = typename TMetric::VirtualImageType
 
using VirtualIndexType = typename TMetric::VirtualIndexType
 
using VirtualPointSetPointer = typename TMetric::VirtualPointSetPointer
 
using VirtualPointSetType = typename TMetric::VirtualPointSetType
 
using VirtualPointType = typename TMetric::VirtualPointType
 
using VirtualRegionType = typename TMetric::VirtualRegionType
 
using VirtualSizeType = typename TMetric::VirtualSizeType
 
using VirtualSpacingType = typename TMetric::VirtualSpacingType
 
- Public Types inherited from itk::OptimizerParameterScalesEstimatorTemplate< TMetric::ParametersValueType >
using ConstPointer = SmartPointer< const Self >
 
using FloatType = TMetric::ParametersValueType
 
using ParametersType = OptimizerParameters< TMetric::ParametersValueType >
 
using Pointer = SmartPointer< Self >
 
using ScalesType = OptimizerParameters< TMetric::ParametersValueType >
 
using Self = OptimizerParameterScalesEstimatorTemplate
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::RegistrationParameterScalesFromShiftBase< TMetric >
void EstimateLocalStepScales (const ParametersType &step, ScalesType &localStepScales) override
 
void EstimateScales (ScalesType &parameterScales) override
 
FloatType EstimateStepScale (const ParametersType &step) override
 
virtual void SetSmallParameterVariation (ParametersValueType _arg)
 
virtual ParametersValueType GetSmallParameterVariation () const
 
- Public Member Functions inherited from itk::RegistrationParameterScalesEstimator< TMetric >
virtual void SetMetric (MetricType *_arg)
 
virtual void SetTransformForward (bool _arg)
 
virtual bool GetTransformForward () const
 
virtual void SetVirtualDomainPointSet (VirtualPointSetType *_arg)
 
virtual void SetVirtualDomainPointSet (const VirtualPointSetType *_arg)
 
virtual const VirtualPointSetTypeGetVirtualDomainPointSet () const
 
virtual void SetCentralRegionRadius (IndexValueType _arg)
 
FloatType EstimateMaximumStepSize () override
 
virtual void SetScalesSamplingStrategy ()
 
virtual void SetStepScaleSamplingStrategy ()
 
- Public Member Functions inherited from itk::OptimizerParameterScalesEstimatorTemplate< TMetric::ParametersValueType >
virtual void EstimateLocalStepScales (const ParametersType &step, ScalesType &localStepScales)=0
 
virtual void EstimateScales (ScalesType &scales)=0
 
virtual FloatType EstimateStepScale (const ParametersType &step)=0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void ComputeSampleShifts (const ParametersType &deltaParameters, ScalesType &sampleShifts) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 RegistrationParameterScalesFromIndexShift ()=default
 
template<typename TContinuousIndexType >
void TransformPointToContinuousIndex (const VirtualPointType &point, TContinuousIndexType &mappedIndex)
 
 ~RegistrationParameterScalesFromIndexShift () override=default
 
- Protected Member Functions inherited from itk::RegistrationParameterScalesFromShiftBase< TMetric >
 RegistrationParameterScalesFromShiftBase ()
 
 ~RegistrationParameterScalesFromShiftBase () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual FloatType ComputeMaximumVoxelShift (const ParametersType &deltaParameters)
 
- Protected Member Functions inherited from itk::RegistrationParameterScalesEstimator< TMetric >
 RegistrationParameterScalesEstimator ()
 
 ~RegistrationParameterScalesEstimator () override=default
 
bool CheckAndSetInputs ()
 
virtual void SetNumberOfRandomSamples (SizeValueType _arg)
 
virtual void SetSamplingStrategy (SamplingStrategyType _arg)
 
bool CheckGeneralAffineTransform ()
 
template<typename TTransform >
bool CheckGeneralAffineTransformTemplated ()
 
template<typename TTargetPointType >
void TransformPoint (const VirtualPointType &point, TTargetPointType &mappedPoint)
 
template<typename TContinuousIndexType >
void TransformPointToContinuousIndex (const VirtualPointType &point, TContinuousIndexType &mappedIndex)
 
void ComputeSquaredJacobianNorms (const VirtualPointType &point, ParametersType &squareNorms)
 
bool TransformHasLocalSupportForScalesEstimation ()
 
bool IsDisplacementFieldTransform ()
 
bool IsBSplineTransform ()
 
SizeValueType GetNumberOfLocalParameters ()
 
void UpdateTransformParameters (const ParametersType &deltaParameters)
 
virtual void SampleVirtualDomain ()
 
void SampleVirtualDomainFully ()
 
void SampleVirtualDomainWithCorners ()
 
void SampleVirtualDomainRandomly ()
 
void SampleVirtualDomainWithCentralRegion ()
 
void SampleVirtualDomainWithRegion (VirtualRegionType region)
 
void SampleVirtualDomainWithPointSet ()
 
VirtualIndexType GetVirtualDomainCentralIndex ()
 
VirtualRegionType GetVirtualDomainCentralRegion ()
 
const TransformBaseTemplate< typename TMetric::MeasureType > * GetTransform ()
 
SizeValueType GetDimension ()
 
virtual SamplingStrategyType GetSamplingStrategy ()
 
- Protected Member Functions inherited from itk::OptimizerParameterScalesEstimatorTemplate< TMetric::ParametersValueType >
 OptimizerParameterScalesEstimatorTemplate ()=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~OptimizerParameterScalesEstimatorTemplate () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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

template<typename TTransform >
void ComputeSampleShiftsInternal (const ParametersType &deltaParameters, ScalesType &sampleShifts)
 

Additional Inherited Members

- Static Public Attributes inherited from itk::RegistrationParameterScalesEstimator< TMetric >
static constexpr SizeValueType FixedDimension = TMetric::FixedDimension
 
static constexpr SizeValueType MovingDimension = TMetric::MovingDimension
 
static constexpr SizeValueType VirtualDimension = TMetric::VirtualDimension
 
- Protected Attributes inherited from itk::RegistrationParameterScalesEstimator< TMetric >
MetricPointer m_Metric
 
SamplePointContainerType m_SamplePoints
 
TimeStamp m_SamplingTime
 
SizeValueType m_NumberOfRandomSamples
 
IndexValueType m_CentralRegionRadius
 
VirtualPointSetType::ConstPointer m_VirtualDomainPointSet
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 
- Static Protected Attributes inherited from itk::RegistrationParameterScalesEstimator< TMetric >
static constexpr SizeValueType SizeOfSmallDomain = 1000
 

Detailed Description

template<typename TMetric>
class itk::RegistrationParameterScalesFromIndexShift< TMetric >

Registration helper class for estimating scales of transform parameters from the maximum voxel shift in image index space caused by a parameter change.

Definition at line 35 of file itkRegistrationParameterScalesFromIndexShift.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::ConstPointer = SmartPointer<const Self>

◆ FixedContinuousIndexType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedContinuousIndexType = typename itk::ContinuousIndex<FixedPointValueType, FixedImageType::ImageDimension>

◆ FixedImageConstPointer

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedImageConstPointer = typename FixedImageType::ConstPointer

◆ FixedImageType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedImageType = typename TMetric::FixedImageType

◆ FixedIndexType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedIndexType = typename FixedImageType::IndexType

◆ FixedPointType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedPointType = typename FixedImageType::PointType

◆ FixedPointValueType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedPointValueType = typename FixedImageType::PointValueType

◆ FixedTransformType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FixedTransformType = typename Superclass::FixedTransformType

◆ FloatType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::FloatType = typename Superclass::FloatType

Type of float

Definition at line 60 of file itkRegistrationParameterScalesFromIndexShift.h.

◆ JacobianType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::JacobianType = typename Superclass::JacobianType

◆ MovingContinuousIndexType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingContinuousIndexType = typename itk::ContinuousIndex<MovingPointValueType, MovingImageType::ImageDimension>

◆ MovingImageConstPointer

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingImageConstPointer = typename MovingImageType::ConstPointer

◆ MovingImageType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingImageType = typename TMetric::MovingImageType

◆ MovingIndexType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingIndexType = typename MovingImageType::IndexType

◆ MovingPointType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingPointType = typename MovingImageType::PointType

◆ MovingPointValueType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingPointValueType = typename MovingImageType::PointValueType

◆ MovingTransformType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::MovingTransformType = typename Superclass::MovingTransformType

◆ ParametersType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::ParametersType = typename Superclass::ParametersType

Type of parameters of the optimizer

Definition at line 57 of file itkRegistrationParameterScalesFromIndexShift.h.

◆ Pointer

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::Pointer = SmartPointer<Self>

◆ ScalesType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::ScalesType = typename Superclass::ScalesType

Type of scales

Definition at line 54 of file itkRegistrationParameterScalesFromIndexShift.h.

◆ Self

Standard class type aliases.

Definition at line 42 of file itkRegistrationParameterScalesFromIndexShift.h.

◆ Superclass

◆ VirtualImageConstPointer

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::VirtualImageConstPointer = typename Superclass::VirtualImageConstPointer

◆ VirtualIndexType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::VirtualIndexType = typename Superclass::VirtualIndexType

◆ VirtualPointType

template<typename TMetric >
using itk::RegistrationParameterScalesFromIndexShift< TMetric >::VirtualPointType = typename Superclass::VirtualPointType

Constructor & Destructor Documentation

◆ RegistrationParameterScalesFromIndexShift()

template<typename TMetric >
itk::RegistrationParameterScalesFromIndexShift< TMetric >::RegistrationParameterScalesFromIndexShift ( )
protecteddefault

◆ ~RegistrationParameterScalesFromIndexShift()

template<typename TMetric >
itk::RegistrationParameterScalesFromIndexShift< TMetric >::~RegistrationParameterScalesFromIndexShift ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeSampleShifts()

template<typename TMetric >
void itk::RegistrationParameterScalesFromIndexShift< TMetric >::ComputeSampleShifts ( const ParametersType deltaParameters,
ScalesType localShifts 
)
overrideprotectedvirtual

Compute the sample shifts.

Implements itk::RegistrationParameterScalesFromShiftBase< TMetric >.

◆ ComputeSampleShiftsInternal()

template<typename TMetric >
template<typename TTransform >
void itk::RegistrationParameterScalesFromIndexShift< TMetric >::ComputeSampleShiftsInternal ( const ParametersType deltaParameters,
ScalesType sampleShifts 
)
private

◆ CreateAnother()

template<typename TMetric >
virtual::itk::LightObject::Pointer itk::RegistrationParameterScalesFromIndexShift< TMetric >::CreateAnother ( ) 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.

◆ GetNameOfClass()

template<typename TMetric >
virtual const char* itk::RegistrationParameterScalesFromIndexShift< TMetric >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::RegistrationParameterScalesFromShiftBase< TMetric >.

◆ New()

template<typename TMetric >
static Pointer itk::RegistrationParameterScalesFromIndexShift< TMetric >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TMetric >
void itk::RegistrationParameterScalesFromIndexShift< TMetric >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

the metric object

Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.

◆ TransformPointToContinuousIndex()

template<typename TMetric >
template<typename TContinuousIndexType >
void itk::RegistrationParameterScalesFromIndexShift< TMetric >::TransformPointToContinuousIndex ( const VirtualPointType point,
TContinuousIndexType &  mappedIndex 
)
protected

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