Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Public Types | Public Member Functions | Public Attributes
mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE > Struct Template Reference

Detailed Description

template<typename PIXEL_COORD_TYPE>
struct mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >

A simple structure for representing one image feature (without descriptor nor patch) - This is the template which allows you to select if pixels are represented as integers or floats.

See also
TSimpleFeature, TSimpleFeaturef

Definition at line 34 of file TSimpleFeature.h.

#include <mrpt/vision/TSimpleFeature.h>

Public Types

typedef PIXEL_COORD_TYPE pixel_coords_t
 The type of pt. More...
 
typedef PIXEL_COORD_TYPE::pixel_coord_t pixel_coord_t
 The type of pt.x and pt.y. More...
 

Public Member Functions

template<typename COORD_TYPE >
 TSimpleFeature_templ (const COORD_TYPE x, const COORD_TYPE y)
 Constructor that only sets the pt. More...
 
 TSimpleFeature_templ ()
 Default constructor, leaves all fields uninitialized. More...
 
template<typename OTHER_TSIMPLEFEATURE >
 TSimpleFeature_templ (const OTHER_TSIMPLEFEATURE &o)
 

Public Attributes

pixel_coords_t pt
 Coordinates in the image. More...
 
TFeatureID ID
 ID of the feature. More...
 
TFeatureTrackStatus track_status
 Status of the feature tracking process. More...
 
float response
 A measure of the "goodness" of the feature (typically, the KLT_response value) More...
 
uint8_t octave
 The image octave the image was found in: 0=original image, 1=1/2 image, 2=1/4 image, etc. More...
 
uint8_t user_flags
 A field for any other flags needed by the user (this has not a predefined meaning) More...
 

Member Typedef Documentation

◆ pixel_coord_t

template<typename PIXEL_COORD_TYPE >
typedef PIXEL_COORD_TYPE::pixel_coord_t mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::pixel_coord_t

The type of pt.x and pt.y.

Definition at line 39 of file TSimpleFeature.h.

◆ pixel_coords_t

template<typename PIXEL_COORD_TYPE >
typedef PIXEL_COORD_TYPE mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::pixel_coords_t

The type of pt.

Definition at line 37 of file TSimpleFeature.h.

Constructor & Destructor Documentation

◆ TSimpleFeature_templ() [1/3]

template<typename PIXEL_COORD_TYPE >
template<typename COORD_TYPE >
mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::TSimpleFeature_templ ( const COORD_TYPE  x,
const COORD_TYPE  y 
)
inline

Constructor that only sets the pt.

{x,y} values, leaving all other values to undefined values.

Definition at line 60 of file TSimpleFeature.h.

◆ TSimpleFeature_templ() [2/3]

template<typename PIXEL_COORD_TYPE >
mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::TSimpleFeature_templ ( )
inline

Default constructor, leaves all fields uninitialized.

Definition at line 66 of file TSimpleFeature.h.

◆ TSimpleFeature_templ() [3/3]

template<typename PIXEL_COORD_TYPE >
template<typename OTHER_TSIMPLEFEATURE >
mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::TSimpleFeature_templ ( const OTHER_TSIMPLEFEATURE &  o)
inlineexplicit

Definition at line 68 of file TSimpleFeature.h.

Member Data Documentation

◆ ID

template<typename PIXEL_COORD_TYPE >
TFeatureID mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::ID

ID of the feature.

Definition at line 44 of file TSimpleFeature.h.

Referenced by mrpt::vision::detail::trackFeatures_addNewFeats_simple_list().

◆ octave

template<typename PIXEL_COORD_TYPE >
uint8_t mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::octave

The image octave the image was found in: 0=original image, 1=1/2 image, 2=1/4 image, etc.

Definition at line 52 of file TSimpleFeature.h.

Referenced by mrpt::vision::detail::trackFeatures_addNewFeats_simple_list().

◆ pt

template<typename PIXEL_COORD_TYPE >
pixel_coords_t mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::pt

◆ response

template<typename PIXEL_COORD_TYPE >
float mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::response

◆ track_status

template<typename PIXEL_COORD_TYPE >
TFeatureTrackStatus mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::track_status

Status of the feature tracking process.

Definition at line 46 of file TSimpleFeature.h.

Referenced by mrpt::vision::detail::trackFeatures_addNewFeats_simple_list().

◆ user_flags

template<typename PIXEL_COORD_TYPE >
uint8_t mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::user_flags

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

Definition at line 55 of file TSimpleFeature.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019