MRPT logo

mrpt::vision::CFeature Class Reference

A generic 2D feature from an image. More...

#include <mrpt/vision/CFeature.h>

Inheritance diagram for mrpt::vision::CFeature:

mrpt::utils::CSerializable

List of all members.

Public Member Functions

float descriptorSIFTDistanceTo (const CFeature &oFeature) const
 Computes de Euclidean Distance between "this" and the "other" descriptors.
float descriptorSURFDistanceTo (const CFeature &oFeature) const
 Computes de Euclidean Distance between "this" and the "other" descriptors.
TFeatureType get_type () const
 Get the type of the feature.
 CFeature ()
 Constructor.
virtual ~CFeature ()
 Virtual destructor.

Public Attributes

float x
 Coordinates in the image.
float y
TFeatureID ID
 ID of the feature.
CMRPTImage patch
 A patch of the image surrounding the feature.
unsigned int patchSize
 Size of the patch (patchSize x patchSize) (it must be an odd number).
TFeatureType type
 Type of the feature: featSIFT, featKLT, featHarris, featSURF, featNotDefined.
TKLTFeatureStatus KLT_status
 Status of the feature tracking process.
float KLT_val
 Value of the goodness of the feature.
float orientation
 Main orientation of the feature.
float scale
 Feature scale into the scale space.
std::vector< unsigned char > descriptorSIFT
 Feature descriptor.
std::vector< unsigned char > descriptorSURF
 Feature descriptor.
bool hasDescriptorSIFT
 Test if this feature has a descriptor.
bool hasDescriptorSURF
 Test if this feature has a descriptor.

Friends

class CFeatureList
class CMatchedFeatureList


Detailed Description

A generic 2D feature from an image.

Definition at line 97 of file CFeature.h.


Constructor & Destructor Documentation

mrpt::vision::CFeature::CFeature (  ) 

Constructor.

virtual mrpt::vision::CFeature::~CFeature (  )  [inline, virtual]

Virtual destructor.

Definition at line 173 of file CFeature.h.


Member Function Documentation

float mrpt::vision::CFeature::descriptorSIFTDistanceTo ( const CFeature oFeature  )  const

Computes de Euclidean Distance between "this" and the "other" descriptors.

float mrpt::vision::CFeature::descriptorSURFDistanceTo ( const CFeature oFeature  )  const

Computes de Euclidean Distance between "this" and the "other" descriptors.

TFeatureType mrpt::vision::CFeature::get_type (  )  const [inline]

Get the type of the feature.

Definition at line 166 of file CFeature.h.


Friends And Related Function Documentation

friend class CFeatureList [friend]

Definition at line 99 of file CFeature.h.

friend class CMatchedFeatureList [friend]

Definition at line 100 of file CFeature.h.


Member Data Documentation

std::vector<unsigned char> mrpt::vision::CFeature::descriptorSIFT

Feature descriptor.

Definition at line 142 of file CFeature.h.

std::vector<unsigned char> mrpt::vision::CFeature::descriptorSURF

Feature descriptor.

Definition at line 146 of file CFeature.h.

Test if this feature has a descriptor.

Definition at line 150 of file CFeature.h.

Test if this feature has a descriptor.

Definition at line 154 of file CFeature.h.

ID of the feature.

Definition at line 110 of file CFeature.h.

Status of the feature tracking process.

Definition at line 126 of file CFeature.h.

Value of the goodness of the feature.

Definition at line 130 of file CFeature.h.

Main orientation of the feature.

Definition at line 134 of file CFeature.h.

A patch of the image surrounding the feature.

Definition at line 114 of file CFeature.h.

Size of the patch (patchSize x patchSize) (it must be an odd number).

Definition at line 118 of file CFeature.h.

Feature scale into the scale space.

Definition at line 138 of file CFeature.h.

Type of the feature: featSIFT, featKLT, featHarris, featSURF, featNotDefined.

Definition at line 122 of file CFeature.h.

Coordinates in the image.

Definition at line 107 of file CFeature.h.

Definition at line 107 of file CFeature.h.




Page generated by Doxygen 1.5.9 for MRPT 0.6.5 SVN: at Sun Aug 2 11:41:17 CDT 2009