Direct Graphical Models  v.1.5.2
DirectGraphicalModels::fex::CSIFT Class Reference

SIFT (scale-invariant feature transform) feature extraction class. More...

#include <SIFT.h>

Inheritance diagram for DirectGraphicalModels::fex::CSIFT:
Collaboration diagram for DirectGraphicalModels::fex::CSIFT:

Public Member Functions

 CSIFT (const Mat &img)
 Constructor. More...
virtual ~CSIFT (void)
virtual Mat get (void) const
 Extracts and returns the required feature. More...
- Public Member Functions inherited from DirectGraphicalModels::fex::ILocalFeatureExtractor
 ILocalFeatureExtractor (const Mat &img)
 Constructor. More...
virtual ~ILocalFeatureExtractor (void)
- Public Member Functions inherited from DirectGraphicalModels::fex::IFeatureExtractor
 IFeatureExtractor (const Mat &img)
 Constructor. More...
virtual ~IFeatureExtractor (void)

Static Public Member Functions

static Mat get (const Mat &img)
 Extracts the SIFT feature. More...

Additional Inherited Members

- Protected Attributes inherited from DirectGraphicalModels::fex::IFeatureExtractor
const Mat m_img
 Container for the image, from which the features are to be extracted. More...

Detailed Description

SIFT (scale-invariant feature transform) feature extraction class.

Sergey G. Kosov,

Definition at line 16 of file SIFT.h.

Constructor & Destructor Documentation

DirectGraphicalModels::fex::CSIFT::CSIFT ( const Mat &  img)


imgInput image of type CV_8UC1 or CV_8UC3.

Definition at line 23 of file SIFT.h.

virtual DirectGraphicalModels::fex::CSIFT::~CSIFT ( void  )

Definition at line 24 of file SIFT.h.

Member Function Documentation

virtual Mat DirectGraphicalModels::fex::CSIFT::get ( void  ) const

Extracts and returns the required feature.

The feature image.

Implements DirectGraphicalModels::fex::ILocalFeatureExtractor.

Definition at line 26 of file SIFT.h.

Here is the caller graph for this function:

Mat DirectGraphicalModels::fex::CSIFT::get ( const Mat &  img)

Extracts the SIFT feature.

For each pixel of the source image this function performs the scale-invariant feature transform.

imgInput image of type CV_8UC1 or CV_8UC3.
Common feature extractor class with extracted SIFT feature of type CV_8UC{128}.

Definition at line 8 of file SIFT.cpp.

Here is the call graph for this function:

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