ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkRegistrationParameterScalesFromShift.h>
Implements a registration helper class for estimating scales of transform parameters from the maximum voxel shift caused by a parameter change.
Its input includes the fixed/moving images and transform objects, which can be obtained from the metric object.
The scale of a parameter is estimated from the maximum voxel shift produced from a small variation of this parameter. The maximization is done by checking the pixels of the image domain. By defaults, all pixels will be checked. For affine transforms, we may check only the corners by calling SetSamplingStrategy(CornerSampling).
Definition at line 43 of file itkRegistrationParameterScalesFromShift.h.
typedef SmartPointer<const Self> itk::RegistrationParameterScalesFromShift< TMetric >::ConstPointer |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 51 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::FixedTransformType itk::RegistrationParameterScalesFromShift< TMetric >::FixedTransformType |
Type of the transform to initialize
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 71 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::FloatType itk::RegistrationParameterScalesFromShift< TMetric >::FloatType |
Type of float
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 66 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::JacobianType itk::RegistrationParameterScalesFromShift< TMetric >::JacobianType |
Type of Jacobian of transform.
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 72 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::MovingTransformType itk::RegistrationParameterScalesFromShift< TMetric >::MovingTransformType |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 70 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::ParametersType itk::RegistrationParameterScalesFromShift< TMetric >::ParametersType |
Type of paramters of the optimizer
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 63 of file itkRegistrationParameterScalesFromShift.h.
typedef SmartPointer<Self> itk::RegistrationParameterScalesFromShift< TMetric >::Pointer |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 50 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::ScalesType itk::RegistrationParameterScalesFromShift< TMetric >::ScalesType |
Type of scales
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 57 of file itkRegistrationParameterScalesFromShift.h.
typedef RegistrationParameterScalesFromShift itk::RegistrationParameterScalesFromShift< TMetric >::Self |
Standard class typedefs.
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 48 of file itkRegistrationParameterScalesFromShift.h.
typedef RegistrationParameterScalesEstimator< TMetric > itk::RegistrationParameterScalesFromShift< TMetric >::Superclass |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 49 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::VirtualImageConstPointer itk::RegistrationParameterScalesFromShift< TMetric >::VirtualImageConstPointer |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 73 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::VirtualIndexType itk::RegistrationParameterScalesFromShift< TMetric >::VirtualIndexType |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 69 of file itkRegistrationParameterScalesFromShift.h.
typedef Superclass::VirtualPointType itk::RegistrationParameterScalesFromShift< TMetric >::VirtualPointType |
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
Definition at line 68 of file itkRegistrationParameterScalesFromShift.h.
itk::RegistrationParameterScalesFromShift< TMetric >::RegistrationParameterScalesFromShift | ( | ) | [protected] |
itk::RegistrationParameterScalesFromShift< TMetric >::~RegistrationParameterScalesFromShift | ( | ) | [inline, protected] |
Definition at line 92 of file itkRegistrationParameterScalesFromShift.h.
itk::RegistrationParameterScalesFromShift< TMetric >::RegistrationParameterScalesFromShift | ( | const Self & | ) | [private] |
virtual FloatType itk::RegistrationParameterScalesFromShift< TMetric >::ComputeMaximumVoxelShift | ( | const ParametersType & | deltaParameters | ) | [protected, virtual] |
Compute the shift in voxels when deltaParameters is applied onto the current parameters.
void itk::RegistrationParameterScalesFromShift< TMetric >::ComputeSampleIndexShifts | ( | const ParametersType & | deltaParameters, |
ScalesType & | localShifts | ||
) | [protected] |
The templated method of compute the sample shifts in continuous index. The template argument TTransform may be either MovingTransformType or FixedTransformType.
void itk::RegistrationParameterScalesFromShift< TMetric >::ComputeSamplePhysicalShifts | ( | const ParametersType & | deltaParameters, |
ScalesType & | localShifts | ||
) | [protected] |
The templated method of compute the sample shifts in the phyiscal space. The template argument TTransform may be either MovingTransformType or FixedTransformType.
virtual::itk::LightObject::Pointer itk::RegistrationParameterScalesFromShift< TMetric >::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.
virtual void itk::RegistrationParameterScalesFromShift< TMetric >::EstimateLocalStepScales | ( | const ParametersType & | step, |
ScalesType & | localStepScales | ||
) | [virtual] |
Estimate the scales of local steps.
Implements itk::RegistrationParameterScalesEstimator< TMetric >.
virtual void itk::RegistrationParameterScalesFromShift< TMetric >::EstimateScales | ( | ScalesType & | scales | ) | [virtual] |
Estimate parameter scales
Implements itk::RegistrationParameterScalesEstimator< TMetric >.
virtual FloatType itk::RegistrationParameterScalesFromShift< TMetric >::EstimateStepScale | ( | const ParametersType & | step | ) | [virtual] |
Estimate the scale of a step
Implements itk::RegistrationParameterScalesEstimator< TMetric >.
virtual const char* itk::RegistrationParameterScalesFromShift< TMetric >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
virtual bool itk::RegistrationParameterScalesFromShift< TMetric >::GetUsePhysicalSpaceForShift | ( | ) | const [virtual] |
A switch for using physical space for shift computation or continuous index space
static Pointer itk::RegistrationParameterScalesFromShift< TMetric >::New | ( | ) | [static] |
New macro for creation of through a Smart Pointer.
Reimplemented from itk::Object.
void itk::RegistrationParameterScalesFromShift< TMetric >::operator= | ( | const Self & | ) | [private] |
Mutex lock to protect modification to the reference count
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
virtual void itk::RegistrationParameterScalesFromShift< TMetric >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::RegistrationParameterScalesEstimator< TMetric >.
virtual void itk::RegistrationParameterScalesFromShift< TMetric >::SetUsePhysicalSpaceForShift | ( | bool | _arg | ) | [virtual] |
A switch for using physical space for shift computation or continuous index space
ParametersType::ValueType itk::RegistrationParameterScalesFromShift< TMetric >::m_SmallParameterVariation [private] |
Definition at line 121 of file itkRegistrationParameterScalesFromShift.h.
bool itk::RegistrationParameterScalesFromShift< TMetric >::m_UsePhysicalSpaceForShift [private] |
Definition at line 124 of file itkRegistrationParameterScalesFromShift.h.