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 35 of file TSimpleFeature.h.

#include <mrpt/vision/TSimpleFeature.h>

Public Types

using pixel_coords_t = PIXEL_COORD_TYPE
 The type of pt. More...
 
using pixel_coord_t = typename PIXEL_COORD_TYPE::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 >
using mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::pixel_coord_t = typename PIXEL_COORD_TYPE::pixel_coord_t

The type of pt.x and pt.y.

Definition at line 40 of file TSimpleFeature.h.

◆ pixel_coords_t

template<typename PIXEL_COORD_TYPE >
using mrpt::vision::TSimpleFeature_templ< PIXEL_COORD_TYPE >::pixel_coords_t = PIXEL_COORD_TYPE

The type of pt.

Definition at line 38 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 61 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 67 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 69 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 45 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 53 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 47 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 56 of file TSimpleFeature.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019