|
using | ConstPointer = SmartPointer< const Self > |
|
using | DerivativeType = typename Superclass::DerivativeType |
|
using | FixedImageGradientType = typename Superclass::FixedImageGradientType |
|
using | FixedImagePixelType = typename Superclass::FixedImagePixelType |
|
using | FixedImagePointType = typename Superclass::FixedImagePointType |
|
using | JacobianType = typename Superclass::JacobianType |
|
using | MeasureType = typename Superclass::MeasureType |
|
using | MovingImageGradientType = typename Superclass::MovingImageGradientType |
|
using | MovingImagePixelType = typename Superclass::MovingImagePixelType |
|
using | MovingImagePointType = typename Superclass::MovingImagePointType |
|
using | MovingTransformType = typename Superclass::MovingTransformType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = CorrelationImageToImageMetricv4 |
|
using | Superclass = ImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits > |
|
using | VirtualImageType = typename Superclass::VirtualImageType |
|
using | VirtualIndexType = typename Superclass::VirtualIndexType |
|
using | VirtualPointSetType = typename Superclass::VirtualPointSetType |
|
using | VirtualPointType = typename Superclass::VirtualPointType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | CoordinateRepresentationType = typename Superclass::CoordinateRepresentationType |
|
using | DefaultFixedImageGradientCalculator = typename MetricTraits::DefaultFixedImageGradientCalculator |
|
using | DefaultFixedImageGradientFilter = typename MetricTraits::DefaultFixedImageGradientFilter |
|
using | DefaultMovingImageGradientCalculator = typename MetricTraits::DefaultMovingImageGradientCalculator |
|
using | DefaultMovingImageGradientFilter = typename MetricTraits::DefaultMovingImageGradientFilter |
|
using | DerivativeType = typename Superclass::DerivativeType |
|
using | DerivativeValueType = typename DerivativeType::ValueType |
|
using | DimensionType = typename Superclass::DimensionType |
|
using | FixedGradientPixelType = typename MetricTraits::FixedGradientPixelType |
|
using | FixedImageComponentGradientType = CovariantVector< typename FixedImageGradientType::ValueType, FixedImageDimension > |
|
using | FixedImageConstPointer = typename FixedImageType::ConstPointer |
|
using | FixedImageGradientCalculatorPointer = typename FixedImageGradientCalculatorType::Pointer |
|
using | FixedImageGradientCalculatorType = typename MetricTraits::FixedImageGradientCalculatorType |
|
using | FixedImageGradientFilterPointer = typename FixedImageGradientFilterType::Pointer |
|
using | FixedImageGradientFilterType = typename MetricTraits::FixedImageGradientFilterType |
|
using | FixedImageGradientImagePointer = typename FixedImageGradientImageType::Pointer |
|
using | FixedImageGradientImageType = typename MetricTraits::FixedImageGradientImageType |
|
using | FixedImageGradientType = typename MetricTraits::FixedImageGradientType |
|
using | FixedImageIndexType = typename FixedImageType::IndexType |
|
using | FixedImageMaskConstPointer = typename FixedImageMaskType::ConstPointer |
|
using | FixedImageMaskPointer = typename FixedImageMaskType::Pointer |
|
using | FixedImageMaskType = SpatialObject< Self::FixedImageDimension > |
|
using | FixedImagePixelType = typename FixedImageType::PixelType |
|
using | FixedImagePointer = typename FixedImageType::Pointer |
|
using | FixedImagePointType = typename FixedImageType::PointType |
|
using | FixedImageType = TFixedImage |
|
using | FixedInputPointType = typename Superclass::FixedInputPointType |
|
using | FixedInterpolatorPointer = typename FixedInterpolatorType::Pointer |
|
using | FixedInterpolatorType = InterpolateImageFunction< FixedImageType, CoordinateRepresentationType > |
|
using | FixedOutputPointType = typename Superclass::FixedOutputPointType |
|
using | FixedPixelType = FixedImagePixelType |
|
using | FixedRealType = typename MetricTraits::FixedRealType |
|
using | FixedSampledPointSetConstPointer = typename FixedSampledPointSetType::ConstPointer |
|
using | FixedSampledPointSetPointer = typename FixedSampledPointSetType::Pointer |
|
using | FixedSampledPointSetType = PointSet< typename FixedImageType::PixelType, Self::FixedImageDimension > |
|
using | FixedScalarRealType = typename NumericTraits< FixedRealType >::ScalarRealType |
|
using | FixedTransformJacobianType = typename Superclass::FixedTransformJacobianType |
|
using | FixedTransformParametersType = typename Superclass::FixedTransformParametersType |
|
using | FixedTransformPointer = typename Superclass::FixedTransformPointer |
|
using | FixedTransformType = typename Superclass::FixedTransformType |
|
using | GradientSourceEnum = typename Superclass::GradientSourceEnum |
|
using | ImageDimensionType = typename Superclass::DimensionType |
|
using | InternalComputationValueType = TInternalComputationValueType |
|
using | JacobianType = typename Superclass::JacobianType |
|
using | MeasureType = typename Superclass::MeasureType |
|
using | MetricTraits = TMetricTraits |
|
using | MovingGradientPixelType = typename MetricTraits::MovingGradientPixelType |
|
using | MovingImageComponentGradientType = CovariantVector< typename MovingImageGradientType::ValueType, MovingImageDimension > |
|
using | MovingImageConstPointer = typename MovingImageType::ConstPointer |
|
using | MovingImageGradientCalculatorPointer = typename MovingImageGradientCalculatorType::Pointer |
|
using | MovingImageGradientCalculatorType = typename MetricTraits::MovingImageGradientCalculatorType |
|
using | MovingImageGradientFilterPointer = typename MovingImageGradientFilterType::Pointer |
|
using | MovingImageGradientFilterType = typename MetricTraits::MovingImageGradientFilterType |
|
using | MovingImageGradientImagePointer = typename MovingImageGradientImageType::Pointer |
|
using | MovingImageGradientImageType = typename MetricTraits::MovingImageGradientImageType |
|
using | MovingImageGradientType = typename MetricTraits::MovingImageGradientType |
|
using | MovingImageIndexType = typename MovingImageType::IndexType |
|
using | MovingImageMaskConstPointer = typename MovingImageMaskType::ConstPointer |
|
using | MovingImageMaskPointer = typename MovingImageMaskType::Pointer |
|
using | MovingImageMaskType = SpatialObject< Self::MovingImageDimension > |
|
using | MovingImagePixelType = typename MovingImageType::PixelType |
|
using | MovingImagePointer = typename MovingImageType::Pointer |
|
using | MovingImagePointType = typename MovingImageType::PointType |
|
using | MovingImageRegionType = typename MovingImageType::RegionType |
|
using | MovingImageType = TMovingImage |
|
using | MovingInputPointType = typename Superclass::MovingInputPointType |
|
using | MovingInterpolatorPointer = typename MovingInterpolatorType::Pointer |
|
using | MovingInterpolatorType = InterpolateImageFunction< MovingImageType, CoordinateRepresentationType > |
|
using | MovingOutputPointType = typename Superclass::MovingOutputPointType |
|
using | MovingPixelType = MovingImagePixelType |
|
using | MovingRealType = typename MetricTraits::MovingRealType |
|
using | MovingScalarRealType = typename NumericTraits< MovingRealType >::ScalarRealType |
|
using | MovingTransformJacobianType = typename Superclass::MovingTransformJacobianType |
|
using | MovingTransformParametersType = typename Superclass::MovingTransformParametersType |
|
using | MovingTransformPointer = typename Superclass::MovingTransformPointer |
|
using | MovingTransformType = typename Superclass::MovingTransformType |
|
using | NumberOfParametersType = typename Superclass::NumberOfParametersType |
|
using | ObjectType = typename Superclass::ObjectType |
|
using | ParametersType = typename Superclass::ParametersType |
|
using | ParametersValueType = typename Superclass::ParametersValueType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ImageToImageMetricv4 |
|
using | Superclass = ObjectToObjectMetric< TFixedImage::ImageDimension, TMovingImage::ImageDimension, TVirtualImage, TInternalComputationValueType > |
|
using | VirtualDirectionType = typename Superclass::VirtualDirectionType |
|
using | VirtualImageComponentGradientType = CovariantVector< typename VirtualImageGradientType::ValueType, VirtualImageDimension > |
|
using | VirtualImageGradientType = typename MetricTraits::VirtualImageGradientType |
|
using | VirtualImagePointer = typename Superclass::VirtualImagePointer |
|
using | VirtualImageType = typename Superclass::VirtualImageType |
|
using | VirtualIndexType = typename Superclass::VirtualIndexType |
|
using | VirtualOriginType = typename Superclass::VirtualPointType |
|
using | VirtualPixelType = typename Superclass::VirtualPixelType |
|
using | VirtualPointSetPointer = typename Superclass::VirtualPointSetPointer |
|
using | VirtualPointSetType = typename Superclass::VirtualPointSetType |
|
using | VirtualPointType = typename Superclass::VirtualPointType |
|
using | VirtualRadiusType = typename Superclass::VirtualSizeType |
|
using | VirtualRegionType = typename Superclass::VirtualRegionType |
|
using | VirtualSizeType = typename Superclass::VirtualSizeType |
|
using | VirtualSpacingType = typename Superclass::VirtualSpacingType |
|
using | MetricCategoryType = typename Superclass::MetricCategoryType |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | CoordinateRepresentationType = TInternalComputationValueType |
|
using | DerivativeType = typename Superclass::DerivativeType |
|
using | DerivativeValueType = typename Superclass::DerivativeValueType |
|
using | DimensionType = SizeValueType |
|
using | FixedInputPointType = typename FixedTransformType::InputPointType |
|
using | FixedOutputPointType = typename FixedTransformType::OutputPointType |
|
using | FixedTransformJacobianType = typename FixedTransformType::JacobianType |
|
using | FixedTransformParametersType = typename FixedTransformType::ParametersType |
|
using | FixedTransformPointer = typename FixedTransformType::Pointer |
|
using | FixedTransformType = Transform< TInternalComputationValueType, TVirtualImage::ImageDimension, TFixedDimension > |
|
using | GradientSourceEnum = typename Superclass::GradientSourceEnum |
|
using | InternalComputationValueType = TInternalComputationValueType |
|
using | JacobianType = typename FixedTransformType::JacobianType |
|
using | MeasureType = typename Superclass::MeasureType |
|
using | MovingDisplacementFieldTransformType = DisplacementFieldTransform< CoordinateRepresentationType, Self::MovingDimension > |
|
using | MovingInputPointType = typename MovingTransformType::InputPointType |
|
using | MovingOutputPointType = typename MovingTransformType::OutputPointType |
|
using | MovingTransformJacobianType = typename MovingTransformType::JacobianType |
|
using | MovingTransformParametersType = typename MovingTransformType::ParametersType |
|
using | MovingTransformPointer = typename MovingTransformType::Pointer |
|
using | MovingTransformType = Transform< TInternalComputationValueType, TVirtualImage::ImageDimension, TMovingDimension > |
|
using | NumberOfParametersType = typename Superclass::NumberOfParametersType |
|
using | ObjectType = typename Superclass::Object |
|
using | ParametersType = typename Superclass::ParametersType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ObjectToObjectMetric |
|
using | Superclass = ObjectToObjectMetricBaseTemplate< TInternalComputationValueType > |
|
using | VirtualDirectionType = typename VirtualImageType::DirectionType |
|
using | VirtualImageConstPointer = typename VirtualImageType::ConstPointer |
|
using | VirtualImagePointer = typename VirtualImageType::Pointer |
|
using | VirtualImageType = TVirtualImage |
|
using | VirtualIndexType = typename VirtualImageType::IndexType |
|
using | VirtualOriginType = typename VirtualImageType::PointType |
|
using | VirtualPixelType = typename VirtualImageType::PixelType |
|
using | VirtualPointSetPointer = typename VirtualPointSetType::Pointer |
|
using | VirtualPointSetType = PointSet< VirtualPixelType, Self::VirtualDimension > |
|
using | VirtualPointType = typename VirtualImageType::PointType |
|
using | VirtualRadiusType = typename VirtualImageType::SizeType |
|
using | VirtualRegionType = typename VirtualImageType::RegionType |
|
using | VirtualSizeType = typename VirtualRegionType::SizeType |
|
using | VirtualSpacingType = typename VirtualImageType::SpacingType |
|
using | MetricCategoryType = typename Superclass::MetricCategoryEnum |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | CoordinateRepresentationType = TInternalComputationValueType |
|
using | DerivativeType = typename Superclass::DerivativeType |
|
using | DerivativeValueType = typename DerivativeType::ValueType |
|
using | MeasureType = typename Superclass::MeasureType |
|
using | ObjectConstPointer = typename ObjectType::ConstPointer |
|
using | ObjectType = Object |
|
using | ParametersType = typename Superclass::ParametersType |
|
using | ParametersValueType = TInternalComputationValueType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = ObjectToObjectMetricBaseTemplate |
|
using | Superclass = SingleValuedCostFunctionv4Template< TInternalComputationValueType > |
|
using | GradientSourceEnum = itk::ObjectToObjectMetricBaseTemplateEnums::GradientSource |
|
using | NumberOfParametersType = unsigned int |
|
using | MetricCategoryEnum = itk::ObjectToObjectMetricBaseTemplateEnums::MetricCategory |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | DerivativeType = Array< TInternalComputationValueType > |
|
using | MeasureType = TInternalComputationValueType |
|
using | ParametersType = typename Superclass::ParametersType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = SingleValuedCostFunctionv4Template |
|
using | Superclass = CostFunctionTemplate< TInternalComputationValueType > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | ParametersType = OptimizerParameters< TInternalComputationValueType > |
|
using | ParametersValueType = TInternalComputationValueType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = CostFunctionTemplate |
|
using | Superclass = Object |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = Object |
|
using | Superclass = LightObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = LightObject |
|
|
virtual ::itk::LightObject::Pointer | CreateAnother () const |
|
virtual const char * | GetNameOfClass () const |
|
void | SetFixedObject (const ObjectType *object) override |
|
void | SetMovingObject (const ObjectType *object) override |
|
virtual void | SetFixedImage (const FixedImageType *_arg) |
|
virtual const FixedImageType * | GetFixedImage () const |
|
virtual void | SetMovingImage (const MovingImageType *_arg) |
|
virtual const MovingImageType * | GetMovingImage () const |
|
virtual void | SetFixedInterpolator (FixedInterpolatorType *_arg) |
|
virtual FixedInterpolatorType * | GetModifiableFixedInterpolator () |
|
virtual const FixedInterpolatorType * | GetFixedInterpolator () const |
|
virtual void | SetMovingInterpolator (MovingInterpolatorType *_arg) |
|
virtual MovingInterpolatorType * | GetModifiableMovingInterpolator () |
|
virtual const MovingInterpolatorType * | GetMovingInterpolator () const |
|
virtual void | SetMovingImageMask (MovingImageMaskType *_arg) |
|
virtual void | SetMovingImageMask (const MovingImageMaskType *_arg) |
|
virtual const MovingImageMaskType * | GetMovingImageMask () const |
|
virtual void | SetFixedImageMask (FixedImageMaskType *_arg) |
|
virtual void | SetFixedImageMask (const FixedImageMaskType *_arg) |
|
virtual const FixedImageMaskType * | GetFixedImageMask () const |
|
virtual void | SetFixedSampledPointSet (FixedSampledPointSetType *_arg) |
|
virtual void | SetFixedSampledPointSet (const FixedSampledPointSetType *_arg) |
|
virtual const FixedSampledPointSetType * | GetFixedSampledPointSet () const |
|
virtual void | SetVirtualSampledPointSet (VirtualPointSetType *_arg) |
|
virtual const VirtualPointSetType * | GetVirtualSampledPointSet () const |
|
virtual void | SetUseSampledPointSet (bool _arg) |
|
virtual const bool & | GetUseSampledPointSet () const |
|
virtual void | UseSampledPointSetOn () |
|
virtual void | UseSampledPointSetOff () |
|
virtual void | SetUseVirtualSampledPointSet (bool _arg) |
|
virtual const bool & | GetUseVirtualSampledPointSet () const |
|
virtual void | UseVirtualSampledPointSetOn () |
|
virtual void | UseVirtualSampledPointSetOff () |
|
virtual void | SetFixedImageGradientFilter (FixedImageGradientFilterType *_arg) |
|
virtual FixedImageGradientFilterType * | GetModifiableFixedImageGradientFilter () |
|
virtual const FixedImageGradientFilterType * | GetFixedImageGradientFilter () const |
|
virtual void | SetMovingImageGradientFilter (MovingImageGradientFilterType *_arg) |
|
virtual MovingImageGradientFilterType * | GetModifiableMovingImageGradientFilter () |
|
virtual const MovingImageGradientFilterType * | GetMovingImageGradientFilter () const |
|
virtual void | SetFixedImageGradientCalculator (FixedImageGradientCalculatorType *_arg) |
|
virtual FixedImageGradientCalculatorType * | GetModifiableFixedImageGradientCalculator () |
|
virtual const FixedImageGradientCalculatorType * | GetFixedImageGradientCalculator () const |
|
virtual void | SetMovingImageGradientCalculator (MovingImageGradientCalculatorType *_arg) |
|
virtual MovingImageGradientCalculatorType * | GetModifiableMovingImageGradientCalculator () |
|
virtual const MovingImageGradientCalculatorType * | GetMovingImageGradientCalculator () const |
|
virtual void | SetUseFixedImageGradientFilter (bool _arg) |
|
virtual const bool & | GetUseFixedImageGradientFilter () const |
|
virtual void | UseFixedImageGradientFilterOn () |
|
virtual void | UseFixedImageGradientFilterOff () |
|
virtual void | SetUseMovingImageGradientFilter (bool _arg) |
|
virtual const bool & | GetUseMovingImageGradientFilter () const |
|
virtual void | UseMovingImageGradientFilterOn () |
|
virtual void | UseMovingImageGradientFilterOff () |
|
virtual ThreadIdType | GetNumberOfWorkUnitsUsed () const |
|
virtual void | SetMaximumNumberOfWorkUnits (const ThreadIdType number) |
|
virtual ThreadIdType | GetMaximumNumberOfWorkUnits () const |
|
virtual void | FinalizeThread (const ThreadIdType) |
|
virtual FixedImageGradientImageType * | GetModifiableFixedImageGradientImage () |
|
virtual const FixedImageGradientImageType * | GetFixedImageGradientImage () const |
|
virtual MovingImageGradientImageType * | GetModifiableMovingImageGradientImage () |
|
virtual const MovingImageGradientImageType * | GetMovingImageGradientImage () const |
|
SizeValueType | GetNumberOfValidPoints () const override |
|
SizeValueType | GetNumberOfDomainPoints () const |
|
virtual void | SetUseFloatingPointCorrection (bool _arg) |
|
virtual const bool & | GetUseFloatingPointCorrection () const |
|
virtual void | UseFloatingPointCorrectionOn () |
|
virtual void | UseFloatingPointCorrectionOff () |
|
virtual void | SetFloatingPointCorrectionResolution (DerivativeValueType _arg) |
|
virtual DerivativeValueType | GetFloatingPointCorrectionResolution () const |
|
void | Initialize () override |
|
MeasureType | GetValue () const override |
|
void | GetDerivative (DerivativeType &) const override |
|
void | GetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const override |
|
virtual const SizeValueType & | GetNumberOfSkippedFixedSampledPoints () const |
|
bool | SupportsArbitraryVirtualDomainSamples () const override |
|
MetricCategoryType | GetMetricCategory () const override |
|
OffsetValueType | ComputeParameterOffsetFromVirtualIndex (const VirtualIndexType &index, const NumberOfParametersType &numberOfLocalParameters) const |
|
OffsetValueType | ComputeParameterOffsetFromVirtualPoint (const VirtualPointType &point, const NumberOfParametersType &numberOfLocalParameters) const |
|
virtual const FixedTransformType * | GetFixedTransform () const |
|
virtual FixedTransformType * | GetModifiableFixedTransform () |
|
virtual MovingTransformType * | GetModifiableMovingTransform () |
|
virtual VirtualImageType * | GetModifiableVirtualImage () |
|
virtual const MovingTransformType * | GetMovingTransform () const |
|
NumberOfParametersType | GetNumberOfLocalParameters () const override |
|
NumberOfParametersType | GetNumberOfParameters () const override |
|
const ParametersType & | GetParameters () const override |
|
const MovingTransformType * | GetTransform () |
|
VirtualDirectionType | GetVirtualDirection () const |
|
virtual const TimeStamp & | GetVirtualDomainTimeStamp () const |
|
virtual const VirtualImageType * | GetVirtualImage () const |
|
VirtualOriginType | GetVirtualOrigin () const |
|
const VirtualRegionType & | GetVirtualRegion () const |
|
VirtualSpacingType | GetVirtualSpacing () const |
|
bool | HasLocalSupport () const override |
|
void | Initialize () override |
|
virtual void | SetFixedTransform (FixedTransformType *_arg) |
|
virtual void | SetMovingTransform (MovingTransformType *_arg) |
|
void | SetParameters (ParametersType ¶ms) override |
|
void | SetTransform (MovingTransformType *transform) |
|
void | SetVirtualDomain (const VirtualSpacingType &spacing, const VirtualOriginType &origin, const VirtualDirectionType &direction, const VirtualRegionType ®ion) |
|
void | SetVirtualDomainFromImage (const VirtualImageType *virtualImage) |
|
void | UpdateTransformParameters (const DerivativeType &derivative, TInternalComputationValueType factor) override |
|
bool | IsInsideVirtualDomain (const VirtualPointType &point) const |
|
bool | IsInsideVirtualDomain (const VirtualIndexType &index) const |
|
MetricCategoryType | GetMetricCategory () const override |
|
virtual const ObjectType * | GetFixedObject () const |
|
virtual const ObjectType * | GetMovingObject () const |
|
virtual void | SetGradientSource (GradientSourceEnum _arg) |
|
virtual GradientSourceEnum | GetGradientSource () const |
|
bool | GetGradientSourceIncludesFixed () const |
|
bool | GetGradientSourceIncludesMoving () const |
|
MeasureType | GetCurrentValue () const |
|
virtual void | GetValueAndDerivative (MeasureType &value, DerivativeType &derivative) const =0 |
|
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 |
|
Command * | GetCommand (unsigned long tag) |
|
bool | GetDebug () const |
|
MetaDataDictionary & | GetMetaDataDictionary () |
|
const MetaDataDictionary & | GetMetaDataDictionary () const |
|
virtual ModifiedTimeType | GetMTime () const |
|
virtual const TimeStamp & | GetTimeStamp () 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 |
|
Pointer | Clone () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
template<typename TFixedImage, typename TMovingImage, typename TVirtualImage = TFixedImage, typename TInternalComputationValueType = double, typename TMetricTraits = DefaultImageToImageMetricTraitsv4<TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType>>
class itk::CorrelationImageToImageMetricv4< TFixedImage, TMovingImage, TVirtualImage, TInternalComputationValueType, TMetricTraits >
Class implementing normalized cross correlation image metric.
Definition of the normalized cross correlation metric used here:
negative square of normalized cross correlation
in which, f, m are the vectors of image pixel intensities, and are the mean values of f and m. <,> denotes inner product, denotes the 2-norm of the vector. The minus sign makes the metric to optimize towards its minimal value. Note that this uses the square of the mathematical notion of normalized cross correlation to avoid the square root computation in practice.
Moving image (m) is a function of the parameters (p) of the moving transforms. So GetValueAndDerivative will return the value as and the derivative as
in which, , (Note: there should be a minus sign of mathematically, which is not in the implementation to match the requirement of the metricv4 optimization framework.
See CorrelationImageToImageMetricv4GetValueAndDerivativeThreader::ProcessPoint for algorithm implementation.
This metric only works with the global transform. It throws an exception if the transform has local support.
- Examples
- Examples/RegistrationITKv4/DeformableRegistration4.cxx.
Definition at line 78 of file itkCorrelationImageToImageMetricv4.h.