Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
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

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

#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 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 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)
 
const InputImageTypeGetInput (unsigned int idx)
 
const InputImageTypeGetInput ()
 
void SetInput (unsigned int idx, const InputImageType *input)
 
void SetInput (const InputImageType *input)
 
- Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
OutputPointSetTypeGetOutput (void)
 
OutputPointSetTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual DataObjectPointer MakeOutput (unsigned int idx)
 
void SetOutput (OutputPointSetType *output)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
static Pointer New ()
 

Protected Member Functions

 SiftFastImageFilter ()
 
virtual ~SiftFastImageFilter ()
 
virtual void GenerateData ()
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- Protected Member Functions inherited from otb::ImageToPointSetFilter< TInputImage, TOutputPointSet >
 ImageToPointSetFilter ()
 
virtual ~ImageToPointSetFilter ()
 
virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
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 >
 PointSetSource ()
 
virtual ~PointSetSource ()
 
void GenerateInputRequestedRegion ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 

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 SplitterType::Pointer RegionSplitterPointer
 
typedef
itk::ImageRegionSplitter
< itkGetStaticConstMacro(InputImageDimension)> 
SplitterType
 
typedef StreamingTraits
< InputImageType
StreamingTraitsType
 
- 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
 
RegionSplitterPointer m_RegionSplitter
 

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

Definition at line 47 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 55 of file otbSiftFastImageFilter.h.

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

Definition at line 75 of file otbSiftFastImageFilter.h.

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

Definition at line 66 of file otbSiftFastImageFilter.h.

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

Template parameters typedefs

Definition at line 61 of file otbSiftFastImageFilter.h.

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

Definition at line 76 of file otbSiftFastImageFilter.h.

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

Definition at line 71 of file otbSiftFastImageFilter.h.

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

Definition at line 73 of file otbSiftFastImageFilter.h.

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

Definition at line 70 of file otbSiftFastImageFilter.h.

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

Definition at line 69 of file otbSiftFastImageFilter.h.

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

Definition at line 72 of file otbSiftFastImageFilter.h.

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

Definition at line 67 of file otbSiftFastImageFilter.h.

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

Definition at line 54 of file otbSiftFastImageFilter.h.

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

Standard typedefs

Definition at line 52 of file otbSiftFastImageFilter.h.

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

Definition at line 53 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 95 of file otbSiftFastImageFilter.h.

Member Function Documentation

template<class TInputImage , class TOutputPointSet >
virtual::itk::LightObject::Pointer otb::SiftFastImageFilter< TInputImage, TOutputPointSet >::CreateAnother ( void  ) const
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 82 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

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 103 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 102 of file otbSiftFastImageFilter.h.


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