#include <itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h>
Makes the interpolator into a cost function.
Definition at line 120 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
Inheritance diagram for itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction:
Collaboration diagram for itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction:Public Types | |
| using | DerivativeType = Superclass::DerivativeType |
| using | MeasureType = Superclass::MeasureType |
| using | ParametersType = Superclass::ParametersType |
| using | Pointer = SmartPointer<Self> |
| using | Self = OptimizingInterpolationCostFunction |
| using | Superclass = CostFunctionType |
Public Member Functions | |
| virtual::itk::LightObject::Pointer | CreateAnother () const |
| void | GetDerivative (const ParametersType ¶meters, DerivativeType &derivative) const override |
| virtual const InterpolatorType * | GetInterpolator () const |
| virtual const char * | GetNameOfClass () const |
| unsigned int | GetNumberOfParameters () const override |
| MeasureType | GetValue (const ParametersType ¶meters) const override |
| void | Initialize (const ParametersType ¶meters) |
| virtual void | SetInterpolator (InterpolatorType *_arg) |
Static Public Member Functions | |
| static Pointer | New () |
Public Attributes | |
| InterpolatorType::Pointer | m_Interpolator |
Protected Member Functions | |
| OptimizingInterpolationCostFunction () | |
Private Attributes | |
| ContinuousIndexType | m_ContinuousIndex |
| ContinuousIndexType::ValueType * | m_ContinuousIndexPtr |
| ParametersType | m_PreviousParameters |
| ParametersType::ValueType * | m_PreviousParametersPtr |
| using itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::DerivativeType = Superclass::DerivativeType |
DerivativeType type alias. It defines a type used to return the cost function derivative.
Definition at line 142 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::MeasureType = Superclass::MeasureType |
MeasureType type alias. It defines a type used to return the cost function value.
Definition at line 134 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::ParametersType = Superclass::ParametersType |
ParametersType type alias. It defines a position in the optimization search space.
Definition at line 138 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::Pointer = SmartPointer<Self> |
Definition at line 126 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::Self = OptimizingInterpolationCostFunction |
Definition at line 123 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
| using itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::Superclass = CostFunctionType |
Definition at line 124 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
|
protected |
Referenced by GetNameOfClass().
| virtual::itk::LightObject::Pointer itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::CreateAnother | ( | ) | const |
|
override |
This method returns the derivative of the cost function corresponding to the specified parameters.
|
virtual |
|
virtual |
References OptimizingInterpolationCostFunction().
|
inlineoverride |
Return the number of parameters required to compute this cost function. This method MUST be overloaded by derived classes.
Definition at line 158 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
|
override |
This method returns the value of the cost function corresponding to the specified parameters.
|
inline |
Set the previous parameters before the start of optimization. Used for calculating the step length in GetDerivative().
Definition at line 166 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
References m_PreviousParameters, and m_PreviousParametersPtr.
|
static |
|
virtual |
|
private |
Definition at line 184 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
|
private |
Definition at line 185 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
| InterpolatorType::Pointer itk::BlockMatching::OptimizingInterpolationDisplacementCalculator< TMetricImage, TDisplacementImage, TCoordRep >::OptimizingInterpolationCostFunction::m_Interpolator |
Definition at line 175 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
|
private |
Definition at line 181 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
Referenced by Initialize().
|
private |
Definition at line 182 of file itkBlockMatchingOptimizingInterpolationDisplacementCalculator.h.
Referenced by Initialize().