OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | 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 Self
ConstPointer
 
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 Types inherited from itk::ImageToImageFilter< TInputImage, T0utputCorrelation >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource
< T0utputCorrelation > 
Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetGridStep (unsigned int step)
 
void SetRadius (unsigned int radius)
 
void SetSearchRadius (unsigned int radius)
 
virtual void SetMetric (MetricType *_arg)
 
 itkGetObjectMacro (Metric, MetricType)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
 itkGetObjectMacro (Interpolator, InterpolatorType)
 
const TInputImage * GetFixedInput ()
 
const TInputImage * GetMovingInput ()
 
virtual void SetRadius (SizeType _arg)
 
virtual SizeType GetRadius ()
 
virtual void SetSearchRadius (SizeType _arg)
 
virtual SizeType GetSearchRadius ()
 
virtual void SetSubPixelAccuracy (double _arg)
 
virtual double GetSubPixelAccuracy ()
 
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
 
virtual void SetTransform (TransformType *_arg)
 
virtual const TransformTypeGetTransform () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, T0utputCorrelation >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput (void) const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
const OutputImageTypeGetOutput (void) const
 
OutputImageTypeGetOutput (void)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
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 flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

virtual ~FineRegistrationImageFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, T0utputCorrelation >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
void PushBackInput (const DataObject *input)
 
void PushFrontInput (const DataObject *input)
 
virtual void VerifyInputInformation ()
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter (void) const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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

 FineRegistrationImageFilter (const Self &)
 
void operator= (const Self &)
 

Private Attributes

OffsetType m_GridStep
 
SpacingType m_InitialOffset
 
InterpolatorPointerType m_Interpolator
 
MetricPointerType m_Metric
 
bool m_Minimize
 
SizeType m_Radius
 
SizeType m_SearchRadius
 
double m_SubPixelAccuracy
 
TransformPointerType m_Transform
 
TranslationPointerType m_Translation
 
bool m_UseSpacing
 
void SetFixedInput (const TInputImage *image)
 
void SetMovingInput (const TInputImage *image)
 
TOutputDisplacementField * GetOutputDisplacementField ()
 
 FineRegistrationImageFilter ()
 
virtual void GenerateData ()
 
virtual void GenerateInputRequestedRegion (void)
 
virtual void GenerateOutputInformation (void)
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, T0utputCorrelation >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, T0utputCorrelation >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

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 allow to search 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 dichotomic search until sub-pixel accuracy given by the SetSubPixelAccuracy() 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 to use the full range of itk::ImageToImageMetric provided by itk.

Examples:
DisparityMap/FineRegistrationImageFilterExample.cxx.

Definition at line 71 of file otbFineRegistrationImageFilter.h.

Member Typedef Documentation

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

Definition at line 78 of file otbFineRegistrationImageFilter.h.

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

Definition at line 98 of file otbFineRegistrationImageFilter.h.

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

Definition at line 88 of file otbFineRegistrationImageFilter.h.

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

Definition at line 92 of file otbFineRegistrationImageFilter.h.

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

Definition at line 89 of file otbFineRegistrationImageFilter.h.

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

Definition at line 90 of file otbFineRegistrationImageFilter.h.

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

Definition at line 97 of file otbFineRegistrationImageFilter.h.

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

Definition at line 96 of file otbFineRegistrationImageFilter.h.

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

Definition at line 100 of file otbFineRegistrationImageFilter.h.

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

Definition at line 99 of file otbFineRegistrationImageFilter.h.

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

Definition at line 95 of file otbFineRegistrationImageFilter.h.

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

Some convenient typedefs.

Definition at line 84 of file otbFineRegistrationImageFilter.h.

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

Definition at line 77 of file otbFineRegistrationImageFilter.h.

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

Definition at line 94 of file otbFineRegistrationImageFilter.h.

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

Standard class typedefs.

Definition at line 75 of file otbFineRegistrationImageFilter.h.

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

Definition at line 91 of file otbFineRegistrationImageFilter.h.

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

Definition at line 93 of file otbFineRegistrationImageFilter.h.

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

Definition at line 76 of file otbFineRegistrationImageFilter.h.

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

Definition at line 104 of file otbFineRegistrationImageFilter.h.

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

Definition at line 103 of file otbFineRegistrationImageFilter.h.

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

Definition at line 102 of file otbFineRegistrationImageFilter.h.

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

Definition at line 101 of file otbFineRegistrationImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::FineRegistrationImageFilter ( )
protected
template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
virtual otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::~FineRegistrationImageFilter ( )
inlineprotectedvirtual

Destructor

Definition at line 193 of file otbFineRegistrationImageFilter.h.

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

Member Function Documentation

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

Reimplemented from itk::Object.

template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::GenerateData ( void  )
protectedvirtual
template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::GenerateInputRequestedRegion ( void  )
protectedvirtual
template<class TInputImage , class TOutputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, TOutputCorrelation, TOutputDisplacementField >::GenerateOutputInformation ( void  )
protectedvirtual

Generate output information

Reimplemented from itk::ProcessObject.

Definition at line 130 of file otbFineRegistrationImageFilter.txx.

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

Get the inputs

Definition at line 94 of file otbFineRegistrationImageFilter.txx.

References itk::ProcessObject::GetInput().

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

Set the grid step

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

Set default offset between the two images

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

Get the inputs

Definition at line 106 of file otbFineRegistrationImageFilter.txx.

References itk::ProcessObject::GetInput().

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).

Reimplemented from itk::ImageToImageFilter< TInputImage, T0utputCorrelation >.

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

Get the output displacement field

Definition at line 118 of file otbFineRegistrationImageFilter.txx.

References itk::ProcessObject::GetOutput().

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

Set the radius of the area on which metric is evaluated

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

Set the searh radius

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

Set/Get subpixel accuracy

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

Set/Get the transform for the initial offset

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

Set/Get the Metric used to compare images

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

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

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

True if metric should be minimized. False otherwise

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

True if metric should be minimized. False otherwise

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

Method for creation through the object factory.

template<class TInputImage , class T0utputCorrelation , class TOutputDisplacementField >
void otb::FineRegistrationImageFilter< TInputImage, T0utputCorrelation, TOutputDisplacementField >::operator= ( const Self )
private
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 76 of file otbFineRegistrationImageFilter.txx.

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

Set the grid step

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 178 of file otbFineRegistrationImageFilter.h.

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

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

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

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

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 85 of file otbFineRegistrationImageFilter.txx.

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

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 166 of file otbFineRegistrationImageFilter.h.

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

Set the searh radius

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 172 of file otbFineRegistrationImageFilter.h.

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

Set/Get subpixel accuracy

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

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

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

True if displacement field takes spacing into account. False otherwise

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

True if displacement field takes spacing into account. False otherwise

Member Data Documentation

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

Grid step

Definition at line 236 of file otbFineRegistrationImageFilter.h.

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

Default offset

Definition at line 233 of file otbFineRegistrationImageFilter.h.

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

The interpolator

Definition at line 224 of file otbFineRegistrationImageFilter.h.

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

The metric

Definition at line 227 of file otbFineRegistrationImageFilter.h.

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

Minimize/maximize metric

Definition at line 215 of file otbFineRegistrationImageFilter.h.

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

The radius for correlation

Definition at line 209 of file otbFineRegistrationImageFilter.h.

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

The search radius

Definition at line 212 of file otbFineRegistrationImageFilter.h.

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

Search step

Definition at line 221 of file otbFineRegistrationImageFilter.h.

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

Transform for initial offset

Definition at line 239 of file otbFineRegistrationImageFilter.h.

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

The translation

Definition at line 230 of file otbFineRegistrationImageFilter.h.

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 218 of file otbFineRegistrationImageFilter.h.


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