OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField > Class Template Reference

#include <otbFineRegistrationImageFilter.h>

+ Inheritance diagram for otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >:
+ Collaboration diagram for otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ContinuousIndex< double, 2 > ContinuousIndexType
 
typedef TOutputDisplacementField::PixelType DisplacementValueType
 
typedef TInputImage::IndexType IndexType
 
typedef TInputImage::Pointer InputImagePointerType
 
typedef TInputImage::RegionType InputImageRegionType
 
typedef InterpolatorType::Pointer InterpolatorPointerType
 
typedef itk::InterpolateImageFunction< TInputImage, double > InterpolatorType
 
typedef MetricType::Pointer MetricPointerType
 
typedef itk::ImageToImageMetric< TInputImage, TInputImage > MetricType
 
typedef TInputImage::OffsetType OffsetType
 
typedef T0utputCorrelation::RegionType OutputImageRegionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TInputImage::PointType PointType
 
typedef FineRegistrationImageFilter Self
 
typedef TInputImage::SizeType SizeType
 
typedef TInputImage::SpacingType SpacingType
 
typedef itk::ImageToImageFilter< TInputImage, T0utputCorrelation > Superclass
 
typedef TransformType::Pointer TransformPointerType
 
typedef itk::Transform< double, 2, 2 > TransformType
 
typedef TranslationType::Pointer TranslationPointerType
 
typedef itk::TranslationTransform< double, 2 > TranslationType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
SizeType m_Radius
 
SizeType m_SearchRadius
 
bool m_Minimize
 
bool m_UseSpacing
 
double m_ConvergenceAccuracy
 
double m_SubPixelAccuracy
 
int m_MaxIter
 
InterpolatorPointerType m_Interpolator
 
MetricPointerType m_Metric
 
TranslationPointerType m_Translation
 
SpacingType m_InitialOffset
 
OffsetType m_GridStep
 
TransformPointerType m_Transform
 
virtual void SetMetric (MetricType *_arg)
 
 itkGetObjectMacro (Metric, MetricType)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
 itkGetObjectMacro (Interpolator, InterpolatorType)
 
void SetFixedInput (const TInputImage *image)
 
void SetMovingInput (const TInputImage *image)
 
const TInputImage * GetFixedInput ()
 
const TInputImage * GetMovingInput ()
 
TOutputDisplacementField * GetOutputDisplacementField ()
 
virtual void SetRadius (SizeType _arg)
 
virtual SizeType GetRadius ()
 
virtual void SetSearchRadius (SizeType _arg)
 
virtual SizeType GetSearchRadius ()
 
virtual void SetConvergenceAccuracy (double _arg)
 
virtual double GetConvergenceAccuracy ()
 
virtual void SetSubPixelAccuracy (double _arg)
 
virtual double GetSubPixelAccuracy ()
 
virtual void SetMaxIter (int _arg)
 
virtual int GetMaxIter ()
 
virtual void SetMinimize (bool _arg)
 
virtual void MinimizeOn ()
 
virtual void MinimizeOff ()
 
virtual void SetUseSpacing (bool _arg)
 
virtual void UseSpacingOn ()
 
virtual void UseSpacingOff ()
 
virtual void SetInitialOffset (SpacingType _arg)
 
virtual const SpacingTypeGetInitialOffset () const
 
virtual void SetGridStep (OffsetType _arg)
 
virtual const OffsetTypeGetGridStep () const
 
void SetRadius (unsigned int radius)
 
void SetSearchRadius (unsigned int radius)
 
void SetGridStep (unsigned int step)
 
virtual void SetTransform (TransformType *_arg)
 
virtual const TransformTypeGetTransform () const
 
 FineRegistrationImageFilter ()
 
 ~FineRegistrationImageFilter () override
 
void GenerateData () override
 
void GenerateInputRequestedRegion (void) override
 
void GenerateOutputInformation (void) override
 
 FineRegistrationImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
double callMetric (double val1, double val2, double &oldRes, bool &flag)
 
void updateOptParams (double potBestVal, double parx, double pary, double &bestVal, typename TranslationType::ParametersType &optParams)
 
void updatePoints (double &gn, double &in1, double &in2, double &in3, double &out1, double &out2, double &out3, double &out4)
 
void updateMinimize (double &a, double &b)
 

Detailed Description

template<class TInputImage, class T0utputCorrelation, class TOutputDisplacementField>
class otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >

Computes a displacement field between two images using a given metric.

This filter tries to find at each location of the fixed image the corresponding best matching patch of radius set by SetRadius() method in the moving image within a search windows whose radius is defined by SetSearchRadius() method.

To do so, it optimizes a metric set using the SetMetric() method, which accepts any itk metric deriving from the itk::ImageToImageMetric. The MinimizeOn()/MinimizeOff() flag allows searching for minimum or maximum depending on the metric (default is On).

Once a coarse (pixel wise) offset has been found, this match is further refined using golden section search search until convergence accuracy (given by the SetConvergenceAccuracy()) is reached, or when the max number of iteration () is reached.

The filter proposes two outputs: GetOutput() return the image of the metric optimum at each location, and the GetOutputDisplacementField() method returns the corresponding offset.

If the UseSpacingOn() flag is used, the output displacement field takes the input image spacing into account. otherwise, the displacement field is expressed in pixels (default ins On).

This filter accepts fixed and moving images with different sizes and spacing. Metric and search windows radius are expressed in terms of number of pixels in the fixed image.

An initial offset can be used to reduce computation time in case of input and moving images with a significant offset. This offset is taken into account in the output displacement field.

It is possible to generate an output metric map and displacement field at a coarser resolution by setting grid step to value higher than 1 (grid step is expressed in terms of number of fixed image pixels). Default value is 1.

The FineRegistrationImageFilter allows using the full range of itk::ImageToImageMetric provided by itk.

Examples
DisparityMap/FineRegistrationImageFilterExample.cxx.

Definition at line 74 of file otbFineRegistrationImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::SmartPointer<const Self> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::ConstPointer

Definition at line 81 of file otbFineRegistrationImageFilter.h.

◆ ContinuousIndexType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::ContinuousIndex<double, 2> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::ContinuousIndexType

Definition at line 101 of file otbFineRegistrationImageFilter.h.

◆ DisplacementValueType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TOutputDisplacementField::PixelType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::DisplacementValueType

Definition at line 91 of file otbFineRegistrationImageFilter.h.

◆ IndexType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::IndexType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::IndexType

Definition at line 95 of file otbFineRegistrationImageFilter.h.

◆ InputImagePointerType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::InputImagePointerType

Definition at line 92 of file otbFineRegistrationImageFilter.h.

◆ InputImageRegionType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::RegionType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::InputImageRegionType

Definition at line 93 of file otbFineRegistrationImageFilter.h.

◆ InterpolatorPointerType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef InterpolatorType::Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::InterpolatorPointerType

Definition at line 100 of file otbFineRegistrationImageFilter.h.

◆ InterpolatorType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::InterpolateImageFunction<TInputImage, double> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::InterpolatorType

Definition at line 99 of file otbFineRegistrationImageFilter.h.

◆ MetricPointerType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef MetricType::Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::MetricPointerType

Definition at line 103 of file otbFineRegistrationImageFilter.h.

◆ MetricType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::ImageToImageMetric<TInputImage, TInputImage> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::MetricType

Definition at line 102 of file otbFineRegistrationImageFilter.h.

◆ OffsetType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::OffsetType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::OffsetType

Definition at line 98 of file otbFineRegistrationImageFilter.h.

◆ OutputImageRegionType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef T0utputCorrelation::RegionType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::OutputImageRegionType

Some convenient typedefs.

Definition at line 87 of file otbFineRegistrationImageFilter.h.

◆ Pointer

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::SmartPointer<Self> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::Pointer

Definition at line 80 of file otbFineRegistrationImageFilter.h.

◆ PointType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::PointType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::PointType

Definition at line 97 of file otbFineRegistrationImageFilter.h.

◆ Self

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef FineRegistrationImageFilter otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::Self

Standard class typedefs.

Definition at line 78 of file otbFineRegistrationImageFilter.h.

◆ SizeType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::SizeType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SizeType

Definition at line 94 of file otbFineRegistrationImageFilter.h.

◆ SpacingType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TInputImage::SpacingType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SpacingType

Definition at line 96 of file otbFineRegistrationImageFilter.h.

◆ Superclass

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::ImageToImageFilter<TInputImage, T0utputCorrelation> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::Superclass

Definition at line 79 of file otbFineRegistrationImageFilter.h.

◆ TransformPointerType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TransformType::Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::TransformPointerType

Definition at line 107 of file otbFineRegistrationImageFilter.h.

◆ TransformType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::Transform<double, 2, 2> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::TransformType

Definition at line 106 of file otbFineRegistrationImageFilter.h.

◆ TranslationPointerType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef TranslationType::Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::TranslationPointerType

Definition at line 105 of file otbFineRegistrationImageFilter.h.

◆ TranslationType

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
typedef itk::TranslationTransform<double, 2> otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::TranslationType

Definition at line 104 of file otbFineRegistrationImageFilter.h.

Constructor & Destructor Documentation

◆ FineRegistrationImageFilter() [1/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::FineRegistrationImageFilter
protected

Constructor

Definition at line 38 of file otbFineRegistrationImageFilter.hxx.

◆ ~FineRegistrationImageFilter()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::~FineRegistrationImageFilter ( )
inlineoverrideprotected

Destructor

Definition at line 206 of file otbFineRegistrationImageFilter.h.

◆ FineRegistrationImageFilter() [2/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::FineRegistrationImageFilter ( const Self )
privatedelete

The radius for correlation

Member Function Documentation

◆ callMetric()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
double otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::callMetric ( double  val1,
double  val2,
double &  oldRes,
bool &  flag 
)
inlineprivate

The radius for correlation

Definition at line 277 of file otbFineRegistrationImageFilter.hxx.

◆ CreateAnother()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual::itk::LightObject::Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::GenerateData
overrideprotected

Threaded generate data

Output iterators

Definition at line 336 of file otbFineRegistrationImageFilter.hxx.

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::GenerateInputRequestedRegion ( void  )
overrideprotected

Generate the input requested regions

Definition at line 154 of file otbFineRegistrationImageFilter.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::GenerateOutputInformation ( void  )
overrideprotected

Generate output information

Definition at line 123 of file otbFineRegistrationImageFilter.hxx.

◆ GetConvergenceAccuracy()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual double otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetConvergenceAccuracy ( )
virtual

The radius for correlation

◆ GetFixedInput()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
const TInputImage * otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetFixedInput

Get the inputs

Definition at line 93 of file otbFineRegistrationImageFilter.hxx.

◆ GetGridStep()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual const OffsetType& otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetGridStep ( ) const
virtual

The radius for correlation

◆ GetInitialOffset()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual const SpacingType& otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetInitialOffset ( ) const
virtual

The radius for correlation

◆ GetMaxIter()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual int otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetMaxIter ( )
virtual

The radius for correlation

◆ GetMovingInput()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
const TInputImage * otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetMovingInput

The radius for correlation

Definition at line 103 of file otbFineRegistrationImageFilter.hxx.

◆ GetNameOfClass()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual const char* otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetOutputDisplacementField()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
TOutputDisplacementField * otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetOutputDisplacementField

Get the output displacement field

Definition at line 113 of file otbFineRegistrationImageFilter.hxx.

◆ GetRadius()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual SizeType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetRadius ( )
virtual

The radius for correlation

◆ GetSearchRadius()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual SizeType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetSearchRadius ( )
virtual

The radius for correlation

◆ GetSubPixelAccuracy()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual double otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetSubPixelAccuracy ( )
virtual

The radius for correlation

◆ GetTransform()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual const TransformType* otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::GetTransform ( ) const
virtual

The radius for correlation

◆ itkGetObjectMacro() [1/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::itkGetObjectMacro ( Interpolator  ,
InterpolatorType   
)

The radius for correlation

◆ itkGetObjectMacro() [2/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::itkGetObjectMacro ( Metric  ,
MetricType   
)

The radius for correlation

◆ MinimizeOff()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::MinimizeOff ( )
virtual

The radius for correlation

◆ MinimizeOn()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::MinimizeOn ( )
virtual

The radius for correlation

◆ New()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
static Pointer otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::operator= ( const Self )
privatedelete

The radius for correlation

◆ SetConvergenceAccuracy()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetConvergenceAccuracy ( double  _arg)
virtual

Set/Get convergence accuracy

◆ SetFixedInput()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetFixedInput ( const TInputImage *  image)

Connect one of the operands for pixel-wise addition

Definition at line 79 of file otbFineRegistrationImageFilter.hxx.

◆ SetGridStep() [1/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetGridStep ( OffsetType  _arg)
virtual

Set the grid step

◆ SetGridStep() [2/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetGridStep ( unsigned int  step)
inline

Set unsigned int grid step

Definition at line 191 of file otbFineRegistrationImageFilter.h.

◆ SetInitialOffset()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetInitialOffset ( SpacingType  _arg)
virtual

Set default offset between the two images

◆ SetInterpolator()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetInterpolator ( InterpolatorType _arg)
virtual

Set/Get the interpolator used to interpolate moving image at non-grid positions

◆ SetMaxIter()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetMaxIter ( int  _arg)
virtual

Set/Get max number of iterations

◆ SetMetric()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetMetric ( MetricType _arg)
virtual

Set/Get the Metric used to compare images

◆ SetMinimize()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetMinimize ( bool  _arg)
virtual

True if metric should be minimized. False otherwise

◆ SetMovingInput()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetMovingInput ( const TInputImage *  image)

Connect one of the operands for pixel-wise addition

Definition at line 86 of file otbFineRegistrationImageFilter.hxx.

◆ SetRadius() [1/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetRadius ( SizeType  _arg)
virtual

Set the radius of the area on which metric is evaluated

◆ SetRadius() [2/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetRadius ( unsigned int  radius)
inline

Set unsigned int radius

Definition at line 179 of file otbFineRegistrationImageFilter.h.

◆ SetSearchRadius() [1/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetSearchRadius ( SizeType  _arg)
virtual

Set the searh radius

◆ SetSearchRadius() [2/2]

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetSearchRadius ( unsigned int  radius)
inline

Set unsigned int radius

Definition at line 185 of file otbFineRegistrationImageFilter.h.

◆ SetSubPixelAccuracy()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetSubPixelAccuracy ( double  _arg)
virtual

Set/Get subpixel accuracy

◆ SetTransform()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetTransform ( TransformType _arg)
virtual

Set/Get the transform for the initial offset

◆ SetUseSpacing()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::SetUseSpacing ( bool  _arg)
virtual

True if displacement field takes spacing into account. False otherwise

◆ updateMinimize()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::updateMinimize ( double &  a,
double &  b 
)
inlineprivate

The radius for correlation

Definition at line 325 of file otbFineRegistrationImageFilter.hxx.

◆ updateOptParams()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::updateOptParams ( double  potBestVal,
double  parx,
double  pary,
double &  bestVal,
typename TranslationType::ParametersType &  optParams 
)
inlineprivate

The radius for correlation

Definition at line 300 of file otbFineRegistrationImageFilter.hxx.

◆ updatePoints()

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::updatePoints ( double &  gn,
double &  in1,
double &  in2,
double &  in3,
double &  out1,
double &  out2,
double &  out3,
double &  out4 
)
inlineprivate

The radius for correlation

Definition at line 313 of file otbFineRegistrationImageFilter.hxx.

◆ UseSpacingOff()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::UseSpacingOff ( )
virtual

The radius for correlation

◆ UseSpacingOn()

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::UseSpacingOn ( )
virtual

The radius for correlation

Member Data Documentation

◆ m_ConvergenceAccuracy

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
double otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_ConvergenceAccuracy
private

Search step

Definition at line 241 of file otbFineRegistrationImageFilter.h.

◆ m_GridStep

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
OffsetType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_GridStep
private

Grid step

Definition at line 260 of file otbFineRegistrationImageFilter.h.

◆ m_InitialOffset

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
SpacingType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_InitialOffset
private

Default offset

Definition at line 257 of file otbFineRegistrationImageFilter.h.

◆ m_Interpolator

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
InterpolatorPointerType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_Interpolator
private

The interpolator

Definition at line 248 of file otbFineRegistrationImageFilter.h.

◆ m_MaxIter

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
int otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_MaxIter
private

Max number of iterations

Definition at line 245 of file otbFineRegistrationImageFilter.h.

◆ m_Metric

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
MetricPointerType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_Metric
private

The metric

Definition at line 251 of file otbFineRegistrationImageFilter.h.

◆ m_Minimize

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
bool otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_Minimize
private

Minimize/maximize metric

Definition at line 235 of file otbFineRegistrationImageFilter.h.

◆ m_Radius

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
SizeType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_Radius
private

The radius for correlation

Definition at line 229 of file otbFineRegistrationImageFilter.h.

◆ m_SearchRadius

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
SizeType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_SearchRadius
private

The search radius

Definition at line 232 of file otbFineRegistrationImageFilter.h.

◆ m_SubPixelAccuracy

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
double otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_SubPixelAccuracy
private

The radius for correlation

Definition at line 242 of file otbFineRegistrationImageFilter.h.

◆ m_Transform

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
TransformPointerType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_Transform
private

Transform for initial offset

Definition at line 263 of file otbFineRegistrationImageFilter.h.

◆ m_Translation

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
TranslationPointerType otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_Translation
private

The translation

Definition at line 254 of file otbFineRegistrationImageFilter.h.

◆ m_UseSpacing

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
bool otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::m_UseSpacing
private

If true, displacement field uses spacing. Otherwise, uses pixel grid

Definition at line 238 of file otbFineRegistrationImageFilter.h.


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