OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
otb::SiftFastImageFilter< TInputImage, TOutputPointSet > Class Template Reference

#include <otbSiftFastImageFilter.h>

+ Inheritance diagram for otb::SiftFastImageFilter< TInputImage, TOutputPointSet >:
+ Collaboration diagram for otb::SiftFastImageFilter< TInputImage, TOutputPointSet >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef otb::Image< float, 2 > FloatImageType
 
typedef TInputImage::Pointer InputImagePointerType
 
typedef TInputImage InputImageType
 
typedef std::vector< std::pair
< OutputPointType, double > > 
OrientationVectorType
 
typedef TOutputPointSet::PixelType OutputPixelType
 
typedef
TOutputPointSet::PointIdentifier 
OutputPointIdentifierType
 
typedef TOutputPointSet::Pointer OutputPointSetPointerType
 
typedef TOutputPointSet OutputPointSetType
 
typedef TOutputPointSet::PointType OutputPointType
 
typedef TInputImage::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef SiftFastImageFilter Self
 
typedef ImageToPointSetFilter
< TInputImage, TOutputPointSet > 
Superclass
 
- Public Types inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputPointSetPointer 
OutputPointSetPointer
 
typedef
Superclass::OutputPointSetType 
OutputPointSetType
 
typedef
Superclass::PointDataContainerType 
PointDataContainerType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
Superclass::PointsContainerType 
PointsContainerType
 
typedef itk::ProcessObject ProcessObjectType
 
typedef ImageToPointSetFilter Self
 
typedef PointSetSource
< TOutputPointSet > 
Superclass
 
- Public Types inherited from otb::PointSetSource< TOutputPointSet >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputPointSetType::Pointer OutputPointSetPointer
 
typedef TOutputPointSet OutputPointSetType
 
typedef
OutputPointSetType::PointDataContainer 
PointDataContainerType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
OutputPointSetType::PointsContainer 
PointsContainerType
 
typedef PointSetSource Self
 
typedef itk::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
 
OrientationVectorType GetOrientationVector ()
 
virtual unsigned int GetScalesNumber ()
 
virtual void SetScalesNumber (unsigned int _arg)
 
- Public Member Functions inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
void GenerateOutputInformation (void)
 
void SetInput (unsigned int idx, const InputImageType *input)
 
void SetInput (const InputImageType *input)
 
const InputImageTypeGetInput (unsigned int idx)
 
const InputImageTypeGetInput ()
 
- Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
OutputPointSetTypeGetOutput (void)
 
OutputPointSetTypeGetOutput (DataObjectPointerArraySizeType idx)
 
void SetOutput (OutputPointSetType *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (DataObjectPointerArraySizeType idx, itk::DataObject *output)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
- 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 otb::PointSetSource< TOutputPointSet >
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 void GenerateData ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
 SiftFastImageFilter ()
 
virtual ~SiftFastImageFilter ()
 
- Protected Member Functions inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
virtual void BeforeThreadedGenerateData ()
 
 ImageToPointSetFilter ()
 
virtual ~ImageToPointSetFilter ()
 
virtual void AfterThreadedGenerateData ()
 
virtual int SplitRequestedRegion (int i, int num, InputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const InputImageRegionType &inputRegionForThread, itk::ThreadIdType threadId)
 
- Protected Member Functions inherited from otb::PointSetSource< TOutputPointSet >
void GenerateInputRequestedRegion ()
 
 PointSetSource ()
 
virtual ~PointSetSource ()
 
- 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
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
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 VerifyInputInformation ()
 
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 Attributes

OrientationVectorType m_OrientationVector
 
unsigned int m_ScalesNumber
 

Additional Inherited Members

- Static Public Attributes inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 
- Protected Types inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
typedef std::vector< typename
OutputPointSetType::PointDataContainer::Pointer > 
OutputPointDataContainerForThreadType
 
typedef std::vector< typename
OutputPointSetType::PointsContainer::Pointer > 
OutputPointsContainerForThreadType
 
typedef
StreamingManagerType::Pointer 
StreamingManagerPointer
 
typedef
RAMDrivenAdaptativeStreamingManager
< InputImageType
StreamingManagerType
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Static Protected Member Functions inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
OutputPointDataContainerForThreadType m_PointDataContainerPerThread
 
OutputPointsContainerForThreadType m_PointsContainerPerThread
 
StreamingManagerPointer m_StreamingManager
 
- 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 TOutputPointSet>
class otb::SiftFastImageFilter< TInputImage, TOutputPointSet >

This class extracts key points from an input image through a pyramidal decomposition.

This class implements the SIFT key point detector proposed by David G. Lowe in proceedings of International Conference on Computer Vision, Corfu, september 1999. The implementation used is provided by the external library libsiftfast (http://sourceforge.net/projects/libsift/), using the 1.2 release.

The code has been slightly modified in order to allow the user to tune the number of scales used in pyramidal decomposition.

Please note that OTB provides also a home-brewed version of the SIFT (ImageToSIFTKeyPointSetFilter).

See Also
ImageToSIFTKeyPointSetFilter
Examples:
Patented/SIFTFastExample.cxx.

Definition at line 49 of file otbSiftFastImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputPointSet >
typedef itk::SmartPointer<const Self> otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::ConstPointer

Definition at line 57 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef otb::Image<float, 2> otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::FloatImageType

Definition at line 77 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TInputImage::Pointer otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::InputImagePointerType

Definition at line 68 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TInputImage otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::InputImageType

Template parameters typedefs

Definition at line 63 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef std::vector<std::pair<OutputPointType, double> > otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::OrientationVectorType

Definition at line 78 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TOutputPointSet::PixelType otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::OutputPixelType

Definition at line 73 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TOutputPointSet::PointIdentifier otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::OutputPointIdentifierType

Definition at line 75 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TOutputPointSet::Pointer otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::OutputPointSetPointerType

Definition at line 72 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TOutputPointSet otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::OutputPointSetType

Definition at line 71 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TOutputPointSet::PointType otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::OutputPointType

Definition at line 74 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef TInputImage::PixelType otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::PixelType

Definition at line 69 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef itk::SmartPointer<Self> otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::Pointer

Definition at line 56 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef SiftFastImageFilter otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::Self

Standard typedefs

Definition at line 54 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
typedef ImageToPointSetFilter<TInputImage, TOutputPointSet> otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::Superclass

Definition at line 55 of file otbSiftFastImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputPointSet >
otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::SiftFastImageFilter ( )
protected

Constructor

Definition at line 35 of file otbSiftFastImageFilter.txx.

template<class TInputImage , class TOutputPointSet >
virtual otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::~SiftFastImageFilter ( )
inlineprotectedvirtual

Destructor

Definition at line 97 of file otbSiftFastImageFilter.h.

Member Function Documentation

template<class TInputImage , class TOutputPointSet >
virtual::itk::LightObject::Pointer otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::CreateAnother ( void  ) const
virtual
template<class TInputImage , class TOutputPointSet >
void otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::GenerateData ( void  )
protectedvirtual

Actually process the input

Reimplemented from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >.

Definition at line 41 of file otbSiftFastImageFilter.txx.

template<class TInputImage , class TOutputPointSet >
virtual const char* otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputPointSet >
OrientationVectorType otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::GetOrientationVector ( )
inline

Definition at line 84 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
virtual unsigned int otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::GetScalesNumber ( )
virtual
template<class TInputImage , class TOutputPointSet >
static Pointer otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::New ( )
static

Creation through object factory macro

template<class TInputImage , class TOutputPointSet >
void otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

PrintSelf method

Reimplemented from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >.

Definition at line 109 of file otbSiftFastImageFilter.txx.

template<class TInputImage , class TOutputPointSet >
virtual void otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::SetScalesNumber ( unsigned int  _arg)
virtual

Member Data Documentation

template<class TInputImage , class TOutputPointSet >
OrientationVectorType otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::m_OrientationVector
private

Definition at line 105 of file otbSiftFastImageFilter.h.

template<class TInputImage , class TOutputPointSet >
unsigned int otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::m_ScalesNumber
private

The number of scales

Definition at line 104 of file otbSiftFastImageFilter.h.


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