Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Friends
mrpt::vision::CFeature Class Reference

Detailed Description

A generic 2D feature from an image, extracted with CFeatureExtraction Each feature may have one or more descriptors (see descriptors), in addition to an image patch.

The (Euclidean) distance between descriptors in a pair of features can be computed with descriptorDistanceTo, while the similarity of the patches is given by patchCorrelationTo.

See also
CFeatureList, TSimpleFeature, TSimpleFeatureList

Definition at line 53 of file CFeature.h.

#include <mrpt/vision/CFeature.h>

Inheritance diagram for mrpt::vision::CFeature:
Inheritance graph

Classes

struct  TDescriptors
 All the possible descriptors this feature may have. More...
 

Public Member Functions

voidoperator new (size_t size)
 
voidoperator new[] (size_t size)
 
void operator delete (void *ptr) throw ()
 
void operator delete[] (void *ptr) throw ()
 
void operator delete (void *memory, void *ptr) throw ()
 
voidoperator new (size_t size, const std::nothrow_t &) throw ()
 
void operator delete (void *ptr, const std::nothrow_t &) throw ()
 
bool isPointFeature () const
 Return false only for Blob detectors (SIFT, SURF) More...
 
bool getFirstDescriptorAsMatrix (mrpt::math::CMatrixFloat &desc) const
 Return the first found descriptor, as a matrix. More...
 
float patchCorrelationTo (const CFeature &oFeature) const
 Computes the normalized cross-correlation between the patches of this and another feature (normalized in the range [0,1], such as 0=best, 1=worst). More...
 
float descriptorDistanceTo (const CFeature &oFeature, TDescriptorType descriptorToUse=descAny, bool normalize_distances=true) const
 Computes the Euclidean Distance between this feature's and other feature's descriptors, using the given descriptor or the first present one. More...
 
float descriptorSIFTDistanceTo (const CFeature &oFeature, bool normalize_distances=true) const
 Computes the Euclidean Distance between "this" and the "other" descriptors. More...
 
float descriptorSURFDistanceTo (const CFeature &oFeature, bool normalize_distances=true) const
 Computes the Euclidean Distance between "this" and the "other" descriptors. More...
 
float descriptorSpinImgDistanceTo (const CFeature &oFeature, bool normalize_distances=true) const
 Computes the Euclidean Distance between "this" and the "other" descriptors. More...
 
float descriptorPolarImgDistanceTo (const CFeature &oFeature, float &minDistAngle, bool normalize_distances=true) const
 Returns the minimum Euclidean Distance between "this" and the "other" polar image descriptor, for the best shift in orientation. More...
 
float descriptorLogPolarImgDistanceTo (const CFeature &oFeature, float &minDistAngle, bool normalize_distances=true) const
 Returns the minimum Euclidean Distance between "this" and the "other" log-polar image descriptor, for the best shift in orientation. More...
 
uint8_t descriptorORBDistanceTo (const CFeature &oFeature) const
 Computes the Hamming distance "this" and the "other" descriptor ORB descriptor. More...
 
void saveToTextFile (const std::string &filename, bool APPEND=false)
 Save the feature to a text file in this format: "%% Dump of mrpt::vision::CFeatureList. Each line format is:\n" "%% ID TYPE X Y ORIENTATION SCALE TRACK_STATUS RESPONSE HAS_SIFT [SIFT] HAS_SURF [SURF] HAS_MULTI [MULTI_i] HAS_ORB [ORB]" "%% |---------------------- feature ------------------| |---------------------- descriptors ------------------------|" "%% with:\n" "%% TYPE : The used detector: 0:KLT, 1: Harris, 2: BCD, 3: SIFT, 4: SURF, 5: Beacon, 6: FAST, 7: ORB\n" "%% HAS_* : 1 if a descriptor of that type is associated to the feature." "%% SIFT : Present if HAS_SIFT=1: N DESC_0 ... DESC_N-1" "%% SURF : Present if HAS_SURF=1: N DESC_0 ... DESC_N-1" "%% MULTI : Present if HAS_MULTI=1: SCALE ORI N DESC_0 ... DESC_N-1" "%% ORB : Present if HAS_ORB=1: DESC_0 ... More...
 
TFeatureType get_type () const
 Get the type of the feature. More...
 
void dumpToTextStream (mrpt::utils::CStream &out) const
 Dump feature information into a text stream. More...
 
void dumpToConsole () const
 
 CFeature ()
 Constructor. More...
 
virtual ~CFeature ()
 Virtual destructor. More...
 
virtual mxArraywriteToMatlab () const
 Introduces a pure virtual method responsible for writing to a mxArray Matlab object, typically a MATLAB struct whose contents are documented in each derived class. More...
 
mrpt::utils::CObjectPtr duplicateGetSmartPtr () const
 Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). More...
 
CObjectclone () const
 Cloning interface for smart pointers. More...
 

Static Public Member Functions

static voidoperator new (size_t size, void *ptr)
 

Public Attributes

float x
 
float y
 Coordinates in the image. More...
 
TFeatureID ID
 ID of the feature. More...
 
mrpt::utils::CImage patch
 A patch of the image surrounding the feature. More...
 
uint16_t patchSize
 Size of the patch (patchSize x patchSize) (it must be an odd number) More...
 
TFeatureType type
 Type of the feature: featNotDefined, featSIFT, featKLT, featHarris, featSURF, featBeacon. More...
 
TFeatureTrackStatus track_status
 Status of the feature tracking process (old name: KLT_status) More...
 
float response
 A measure of the "goodness" of the feature (old name: KLT_val) More...
 
float orientation
 Main orientation of the feature. More...
 
float scale
 Feature scale into the scale space. More...
 
uint8_t user_flags
 A field for any other flags needed by the user (this has not a predefined meaning) More...
 
uint16_t nTimesSeen
 Number of frames it has been seen in a sequence of images. More...
 
uint16_t nTimesNotSeen
 Number of frames it has not been seen in a sequence of images. More...
 
uint16_t nTimesLastSeen
 Number of frames since it was seen for the last time. More...
 
double depth
 The estimated depth in 3D of this feature wrt the camera in the current frame. More...
 
double initialDepth
 The estimated depth in 3D of this feature wrt the camera that took its image. More...
 
mrpt::math::TPoint3D p3D
 The estimated 3D point of this feature wrt its camera. More...
 
std::deque< double > multiScales
 A set of scales where the multi-resolution descriptor has been computed. More...
 
std::deque< std::vector< double > > multiOrientations
 A vector of main orientations (there is a vector of orientations for each scale) More...
 
std::deque< std::vector< std::vector< int32_t > > > multiHashCoeffs
 A set of vectors containing the coefficients for a HASH table of descriptors. More...
 
struct VISION_IMPEXP mrpt::vision::CFeature::TDescriptors descriptors
 

Static Public Attributes

static const mrpt::utils::TRuntimeClassId classCObject
 
RTTI stuff
static const mrpt::utils::TRuntimeClassId classCSerializable
 

Protected Member Functions

CSerializable virtual methods
void writeToStream (mrpt::utils::CStream &out, int *getVersion) const
 Introduces a pure virtual method responsible for writing to a CStream. More...
 
void readFromStream (mrpt::utils::CStream &in, int version)
 Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori. More...
 

Static Protected Member Functions

static float internal_distanceBetweenPolarImages (const mrpt::math::CMatrix &desc1, const mrpt::math::CMatrix &desc2, float &minDistAngle, bool normalize_distances, bool dont_shift_angle)
 Internal function used by "descriptorLogPolarImgDistanceTo" and "descriptorPolarImgDistanceTo". More...
 

Friends

class CFeatureList
 
class CMatchedFeatureList
 

RTTI stuff

typedef CFeaturePtr Ptr
 
typedef CFeaturePtr ConstPtr
 
static mrpt::utils::CLASSINIT _init_CFeature
 
static mrpt::utils::TRuntimeClassId classCFeature
 
static const mrpt::utils::TRuntimeClassIdclassinfo
 
static const mrpt::utils::TRuntimeClassId_GetBaseClass ()
 
virtual const mrpt::utils::TRuntimeClassIdGetRuntimeClass () const
 Returns information about the class of an object in runtime. More...
 
virtual mrpt::utils::CObjectduplicate () const
 Returns a copy of the object, indepently of its class. More...
 
static mrpt::utils::CObjectCreateObject ()
 
static CFeaturePtr Create ()
 

Member Typedef Documentation

typedef CFeaturePtr mrpt::vision::CFeature::ConstPtr

Definition at line 58 of file CFeature.h.

typedef CFeaturePtr mrpt::vision::CFeature::Ptr

A typedef for the associated smart pointer

Definition at line 58 of file CFeature.h.

Constructor & Destructor Documentation

CFeature::CFeature ( )

Constructor.

Definition at line 416 of file CFeature.cpp.

virtual mrpt::vision::CFeature::~CFeature ( )
inlinevirtual

Virtual destructor.

Definition at line 188 of file CFeature.h.

References DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE, and VISION_IMPEXP.

Member Function Documentation

static const mrpt::utils::TRuntimeClassId* mrpt::vision::CFeature::_GetBaseClass ( )
staticprotected
CObject* mrpt::utils::CObject::clone ( ) const
inlineinherited

Cloning interface for smart pointers.

Definition at line 143 of file CObject.h.

static CFeaturePtr mrpt::vision::CFeature::Create ( )
static
static mrpt::utils::CObject* mrpt::vision::CFeature::CreateObject ( )
static
float CFeature::descriptorDistanceTo ( const CFeature oFeature,
TDescriptorType  descriptorToUse = descAny,
bool  normalize_distances = true 
) const
float CFeature::descriptorLogPolarImgDistanceTo ( const CFeature oFeature,
float &  minDistAngle,
bool  normalize_distances = true 
) const

Returns the minimum Euclidean Distance between "this" and the "other" log-polar image descriptor, for the best shift in orientation.

Parameters
oFeatureThe other feature to compare with.
minDistAngleThe placeholder for the angle at which the smallest distance is found.
Returns
The distance for the best orientation (minimum distance).

Definition at line 728 of file CFeature.cpp.

References ASSERT_, descriptors, mrpt::vision::CFeature::TDescriptors::hasDescriptorLogPolarImg(), internal_distanceBetweenPolarImages(), mrpt::vision::CFeature::TDescriptors::LogPolarImg, MRPT_END, MRPT_START, and mrpt::vision::CFeature::TDescriptors::polarImgsNoRotation.

Referenced by descriptorDistanceTo().

uint8_t CFeature::descriptorORBDistanceTo ( const CFeature oFeature) const

Computes the Hamming distance "this" and the "other" descriptor ORB descriptor.

Definition at line 754 of file CFeature.cpp.

References ASSERT_, descriptors, mrpt::math::distance(), mrpt::vision::CFeature::TDescriptors::hasDescriptorORB(), and mrpt::vision::CFeature::TDescriptors::ORB.

Referenced by descriptorDistanceTo().

float CFeature::descriptorPolarImgDistanceTo ( const CFeature oFeature,
float &  minDistAngle,
bool  normalize_distances = true 
) const

Returns the minimum Euclidean Distance between "this" and the "other" polar image descriptor, for the best shift in orientation.

Parameters
oFeatureThe other feature to compare with.
minDistAngleThe placeholder for the angle at which the smallest distance is found.
Returns
The distance for the best orientation (minimum distance).

Definition at line 702 of file CFeature.cpp.

References ASSERT_, descriptors, mrpt::vision::CFeature::TDescriptors::hasDescriptorPolarImg(), internal_distanceBetweenPolarImages(), MRPT_END, MRPT_START, mrpt::vision::CFeature::TDescriptors::PolarImg, and mrpt::vision::CFeature::TDescriptors::polarImgsNoRotation.

Referenced by descriptorDistanceTo().

float CFeature::descriptorSIFTDistanceTo ( const CFeature oFeature,
bool  normalize_distances = true 
) const

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

Definition at line 519 of file CFeature.cpp.

References ASSERT_, descriptors, mrpt::vision::CFeature::TDescriptors::hasDescriptorSIFT(), mrpt::vision::CFeature::TDescriptors::SIFT, and mrpt::math::square().

Referenced by descriptorDistanceTo().

float CFeature::descriptorSpinImgDistanceTo ( const CFeature oFeature,
bool  normalize_distances = true 
) const

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

Definition at line 563 of file CFeature.cpp.

References ASSERT_, descriptors, mrpt::vision::CFeature::TDescriptors::hasDescriptorSpinImg(), mrpt::vision::CFeature::TDescriptors::SpinImg, and mrpt::math::square().

Referenced by descriptorDistanceTo().

float CFeature::descriptorSURFDistanceTo ( const CFeature oFeature,
bool  normalize_distances = true 
) const

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

Definition at line 541 of file CFeature.cpp.

References ASSERT_, descriptors, mrpt::vision::CFeature::TDescriptors::hasDescriptorSURF(), mrpt::math::square(), and mrpt::vision::CFeature::TDescriptors::SURF.

Referenced by descriptorDistanceTo().

void CFeature::dumpToConsole ( ) const

Definition at line 313 of file CFeature.cpp.

void CFeature::dumpToTextStream ( mrpt::utils::CStream out) const

Dump feature information into a text stream.

Definition at line 233 of file CFeature.cpp.

References int(), and mrpt::utils::CStream::printf().

virtual mrpt::utils::CObject* mrpt::vision::CFeature::duplicate ( ) const
virtual

Returns a copy of the object, indepently of its class.

Implements mrpt::utils::CObject.

mrpt::utils::CObjectPtr mrpt::utils::CObject::duplicateGetSmartPtr ( ) const
inlineinherited

Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer).

Definition at line 140 of file CObject.h.

Referenced by mrpt::obs::CRawlog::addActions(), mrpt::slam::CIncrementalMapPartitioner::addMapFrame(), and mrpt::obs::CRawlog::addObservations().

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

Get the type of the feature.

Definition at line 176 of file CFeature.h.

Referenced by saveToTextFile().

bool CFeature::getFirstDescriptorAsMatrix ( mrpt::math::CMatrixFloat desc) const

Return the first found descriptor, as a matrix.

Returns
false on error, i.e. there is no valid descriptor.

Definition at line 1200 of file CFeature.cpp.

virtual const mrpt::utils::TRuntimeClassId* mrpt::vision::CFeature::GetRuntimeClass ( ) const
virtual

Returns information about the class of an object in runtime.

Reimplemented from mrpt::utils::CSerializable.

float CFeature::internal_distanceBetweenPolarImages ( const mrpt::math::CMatrix desc1,
const mrpt::math::CMatrix desc2,
float &  minDistAngle,
bool  normalize_distances,
bool  dont_shift_angle 
)
staticprotected

Internal function used by "descriptorLogPolarImgDistanceTo" and "descriptorPolarImgDistanceTo".

Definition at line 588 of file CFeature.cpp.

References mrpt::gui::CDisplayWindowPlots::image(), M_2PI, mrpt::math::meanAndStd(), MRPT_END, MRPT_START, mrpt::gui::CDisplayWindowPlots::plot(), mrpt::math::square(), and mrpt::gui::CBaseGUIWindow::waitForKey().

Referenced by descriptorLogPolarImgDistanceTo(), and descriptorPolarImgDistanceTo().

bool CFeature::isPointFeature ( ) const

Return false only for Blob detectors (SIFT, SURF)

Definition at line 435 of file CFeature.cpp.

References mrpt::vision::featSIFT, and mrpt::vision::featSURF.

void mrpt::vision::CFeature::operator delete ( void ptr)
throw (
)
inline

Definition at line 58 of file CFeature.h.

void mrpt::vision::CFeature::operator delete ( void memory,
void ptr 
)
throw (
)
inline

Definition at line 58 of file CFeature.h.

void mrpt::vision::CFeature::operator delete ( void ptr,
const std::nothrow_t &   
)
throw (
)
inline

Definition at line 58 of file CFeature.h.

void mrpt::vision::CFeature::operator delete[] ( void ptr)
throw (
)
inline

Definition at line 58 of file CFeature.h.

void* mrpt::vision::CFeature::operator new ( size_t  size,
const std::nothrow_t &   
)
throw (
)
inline

Definition at line 58 of file CFeature.h.

static void* mrpt::vision::CFeature::operator new ( size_t  size,
void ptr 
)
inlinestatic

Definition at line 58 of file CFeature.h.

void* mrpt::vision::CFeature::operator new ( size_t  size)
inline

Definition at line 58 of file CFeature.h.

void* mrpt::vision::CFeature::operator new[] ( size_t  size)
inline

Definition at line 58 of file CFeature.h.

float CFeature::patchCorrelationTo ( const CFeature oFeature) const

Computes the normalized cross-correlation between the patches of this and another feature (normalized in the range [0,1], such as 0=best, 1=worst).

Note
If this or the other features does not have patches or they are of different sizes, an exception will be raised.
See also
descriptorDistanceTo

Definition at line 443 of file CFeature.cpp.

References ASSERT_, mrpt::utils::CImage::cross_correlation(), mrpt::utils::CImage::getHeight(), mrpt::utils::CImage::getWidth(), MRPT_END, MRPT_START, and patch.

void CFeature::readFromStream ( mrpt::utils::CStream in,
int  version 
)
protectedvirtual

Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori.

Parameters
inThe input binary stream where the object data must read from.
versionThe version of the object stored in the stream: use this version number in your code to know how to read the incoming data.
Exceptions
std::exceptionOn any error, see CStream::ReadBuffer
See also
CStream

Implements mrpt::utils::CSerializable.

Definition at line 358 of file CFeature.cpp.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.

void CFeature::saveToTextFile ( const std::string filename,
bool  APPEND = false 
)

Save the feature to a text file in this format: "%% Dump of mrpt::vision::CFeatureList. Each line format is:\n" "%% ID TYPE X Y ORIENTATION SCALE TRACK_STATUS RESPONSE HAS_SIFT [SIFT] HAS_SURF [SURF] HAS_MULTI [MULTI_i] HAS_ORB [ORB]" "%% |---------------------- feature ------------------| |---------------------- descriptors ------------------------|" "%% with:\n" "%% TYPE : The used detector: 0:KLT, 1: Harris, 2: BCD, 3: SIFT, 4: SURF, 5: Beacon, 6: FAST, 7: ORB\n" "%% HAS_* : 1 if a descriptor of that type is associated to the feature." "%% SIFT : Present if HAS_SIFT=1: N DESC_0 ... DESC_N-1" "%% SURF : Present if HAS_SURF=1: N DESC_0 ... DESC_N-1" "%% MULTI : Present if HAS_MULTI=1: SCALE ORI N DESC_0 ... DESC_N-1" "%% ORB : Present if HAS_ORB=1: DESC_0 ...

DESC_31 "%%-----------------------------------------------------------------------------\n");

Definition at line 779 of file CFeature.cpp.

References descriptors, get_type(), mrpt::vision::CFeature::TDescriptors::hasDescriptorMultiSIFT(), mrpt::vision::CFeature::TDescriptors::hasDescriptorORB(), mrpt::vision::CFeature::TDescriptors::hasDescriptorSIFT(), mrpt::vision::CFeature::TDescriptors::hasDescriptorSURF(), ID, int(), MRPT_END, MRPT_START, multiOrientations, multiScales, mrpt::vision::CFeature::TDescriptors::multiSIFTDescriptors, mrpt::vision::CFeature::TDescriptors::ORB, orientation, response, mrpt::vision::CFeature::TDescriptors::SIFT, mrpt::vision::CFeature::TDescriptors::SURF, THROW_EXCEPTION, and track_status.

virtual mxArray* mrpt::utils::CSerializable::writeToMatlab ( ) const
inlinevirtualinherited

Introduces a pure virtual method responsible for writing to a mxArray Matlab object, typically a MATLAB struct whose contents are documented in each derived class.

Returns
A new mxArray (caller is responsible of memory freeing) or NULL is class does not support conversion to MATLAB.

Definition at line 79 of file CSerializable.h.

References BASE_IMPEXP, DEFINE_MRPT_OBJECT_POST, mrpt::utils::ObjectToOctetVector(), mrpt::utils::ObjectToRawString(), mrpt::utils::ObjectToString(), mrpt::utils::OctetVectorToObject(), mrpt::utils::RawStringToObject(), and mrpt::utils::StringToObject().

Referenced by mrpt::poses::operator<<(), mrpt::utils::TCamera::readFromStream(), mrpt::obs::CObservationImage::readFromStream(), mrpt::obs::CObservationStereoImages::readFromStream(), mrpt::obs::CObservation2DRangeScan::readFromStream(), and mrpt::utils::CImage::readFromStream().

void CFeature::writeToStream ( mrpt::utils::CStream out,
int getVersion 
) const
protectedvirtual

Introduces a pure virtual method responsible for writing to a CStream.

This can not be used directly be users, instead use "stream << object;" for writing it to a stream.

Parameters
outThe output binary stream where object must be dumped.
getVersionIf NULL, the object must be dumped. If not, only the version of the object dump must be returned in this pointer. This enables the versioning of objects dumping and backward compatibility with previously stored data.
Exceptions
std::exceptionOn any error, see CStream::WriteBuffer
See also
CStream

Implements mrpt::utils::CSerializable.

Definition at line 319 of file CFeature.cpp.

Friends And Related Function Documentation

friend class CFeatureList
friend

Definition at line 55 of file CFeature.h.

friend class CMatchedFeatureList
friend

Definition at line 56 of file CFeature.h.

Member Data Documentation

mrpt::utils::CLASSINIT mrpt::vision::CFeature::_init_CFeature
staticprotected

Definition at line 58 of file CFeature.h.

mrpt::utils::TRuntimeClassId mrpt::vision::CFeature::classCFeature
static

Definition at line 58 of file CFeature.h.

const mrpt::utils::TRuntimeClassId mrpt::utils::CObject::classCObject
staticinherited

Definition at line 128 of file CObject.h.

const mrpt::utils::TRuntimeClassId mrpt::utils::CSerializable::classCSerializable
staticinherited

Definition at line 42 of file CSerializable.h.

const mrpt::utils::TRuntimeClassId* mrpt::vision::CFeature::classinfo
static

Definition at line 58 of file CFeature.h.

double mrpt::vision::CFeature::depth

The estimated depth in 3D of this feature wrt the camera in the current frame.

Definition at line 75 of file CFeature.h.

struct VISION_IMPEXP mrpt::vision::CFeature::TDescriptors mrpt::vision::CFeature::descriptors
TFeatureID mrpt::vision::CFeature::ID
double mrpt::vision::CFeature::initialDepth

The estimated depth in 3D of this feature wrt the camera that took its image.

Definition at line 76 of file CFeature.h.

std::deque<std::vector<std::vector<int32_t> > > mrpt::vision::CFeature::multiHashCoeffs

A set of vectors containing the coefficients for a HASH table of descriptors.

Definition at line 80 of file CFeature.h.

std::deque<std::vector<double> > mrpt::vision::CFeature::multiOrientations

A vector of main orientations (there is a vector of orientations for each scale)

Definition at line 79 of file CFeature.h.

Referenced by saveToTextFile().

std::deque<double> mrpt::vision::CFeature::multiScales

A set of scales where the multi-resolution descriptor has been computed.

Definition at line 78 of file CFeature.h.

Referenced by saveToTextFile().

uint16_t mrpt::vision::CFeature::nTimesLastSeen

Number of frames since it was seen for the last time.

Definition at line 73 of file CFeature.h.

uint16_t mrpt::vision::CFeature::nTimesNotSeen

Number of frames it has not been seen in a sequence of images.

Definition at line 72 of file CFeature.h.

uint16_t mrpt::vision::CFeature::nTimesSeen

Number of frames it has been seen in a sequence of images.

Definition at line 71 of file CFeature.h.

float mrpt::vision::CFeature::orientation

Main orientation of the feature.

Definition at line 68 of file CFeature.h.

Referenced by mrpt::vision::CFeatureList::loadFromTextFile(), and saveToTextFile().

mrpt::math::TPoint3D mrpt::vision::CFeature::p3D

The estimated 3D point of this feature wrt its camera.

Definition at line 77 of file CFeature.h.

mrpt::utils::CImage mrpt::vision::CFeature::patch

A patch of the image surrounding the feature.

Definition at line 63 of file CFeature.h.

Referenced by patchCorrelationTo(), and mrpt::vision::detail::trackFeatures_updatePatch< CFeatureList >().

uint16_t mrpt::vision::CFeature::patchSize

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

Definition at line 64 of file CFeature.h.

float mrpt::vision::CFeature::response

A measure of the "goodness" of the feature (old name: KLT_val)

Definition at line 67 of file CFeature.h.

Referenced by mrpt::vision::CFeatureList::loadFromTextFile(), saveToTextFile(), and mrpt::vision::detail::trackFeatures_checkResponses< CFeatureList >().

float mrpt::vision::CFeature::scale

Feature scale into the scale space.

Definition at line 69 of file CFeature.h.

Referenced by mrpt::vision::CFeatureList::loadFromTextFile().

TFeatureTrackStatus mrpt::vision::CFeature::track_status
TFeatureType mrpt::vision::CFeature::type

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

Definition at line 65 of file CFeature.h.

Referenced by mrpt::vision::CFeatureList::loadFromTextFile().

uint8_t mrpt::vision::CFeature::user_flags

A field for any other flags needed by the user (this has not a predefined meaning)

Definition at line 70 of file CFeature.h.

float mrpt::vision::CFeature::x
float mrpt::vision::CFeature::y



Page generated by Doxygen 1.8.11 for MRPT 1.5.7 Git: 2190203 Tue May 15 02:01:15 2018 +0200 at miƩ may 16 12:40:16 CEST 2018