MRPT
1.9.9
|
Simple structure for image key points.
Descriptors are stored separately in CFeatureList. This is a template to allow using both integers (TKeyPoint) or floats (TKeyPointf) as pixel coordinates.
Definition at line 28 of file TKeyPoint.h.
#include <mrpt/vision/TKeyPoint.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 > | |
TKeyPoint_templ (const COORD_TYPE x, const COORD_TYPE y) | |
Constructor that only sets the pt. More... | |
TKeyPoint_templ ()=default | |
Default constructor, leaves all fields uninitialized. More... | |
template<typename OTHER_TKeyPoint > | |
TKeyPoint_templ (const OTHER_TKeyPoint &o) | |
Public Attributes | |
pixel_coords_t | pt |
Coordinates in the image. More... | |
TFeatureID | ID {static_cast<TFeatureID>(-1)} |
ID of the feature. More... | |
TFeatureTrackStatus | track_status {status_IDLE} |
Status of the feature tracking process. More... | |
float | response {0} |
A measure of the "goodness" of the feature (typically, the KLT_response value) More... | |
uint8_t | octave {0} |
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 {0} |
A field for any other flags needed by the user (this has not a predefined meaning) More... | |
using mrpt::vision::TKeyPoint_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 33 of file TKeyPoint.h.
using mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::pixel_coords_t = PIXEL_COORD_TYPE |
The type of pt.
Definition at line 31 of file TKeyPoint.h.
|
inline |
Constructor that only sets the pt.
{x,y} values, leaving all other values to undefined values.
Definition at line 57 of file TKeyPoint.h.
|
inlinedefault |
Default constructor, leaves all fields uninitialized.
|
inlineexplicit |
Definition at line 64 of file TKeyPoint.h.
TFeatureID mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::ID {static_cast<TFeatureID>(-1)} |
ID of the feature.
Definition at line 39 of file TKeyPoint.h.
Referenced by mrpt::vision::CFeatureExtraction::extractFeaturesAKAZE(), mrpt::vision::CFeatureExtraction::extractFeaturesFAST(), mrpt::vision::CFeatureExtraction::extractFeaturesKLT(), mrpt::vision::CFeatureExtraction::extractFeaturesLSD(), mrpt::vision::CFeatureExtraction::extractFeaturesORB(), mrpt::vision::CFeatureExtraction::extractFeaturesSIFT(), mrpt::vision::CFeatureExtraction::extractFeaturesSURF(), mrpt::vision::CFeatureList::loadFromTextFile(), and mrpt::vision::detail::trackFeatures_addNewFeats< CFeatureList >().
uint8_t mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::octave {0} |
The image octave the image was found in: 0=original image, 1=1/2 image, 2=1/4 image, etc.
Definition at line 49 of file TKeyPoint.h.
Referenced by mrpt::vision::CFeatureExtraction::extractFeaturesAKAZE(), mrpt::vision::CFeatureExtraction::extractFeaturesFAST(), mrpt::vision::CFeatureExtraction::extractFeaturesLSD(), mrpt::vision::CFeatureExtraction::extractFeaturesORB(), mrpt::vision::CFeatureExtraction::extractFeaturesSIFT(), mrpt::vision::CFeatureExtraction::extractFeaturesSURF(), mrpt::vision::CFeatureList::loadFromTextFile(), and mrpt::vision::detail::trackFeatures_addNewFeats< CFeatureList >().
pixel_coords_t mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::pt |
Coordinates in the image.
Definition at line 36 of file TKeyPoint.h.
Referenced by mrpt::vision::CFeatureExtraction::extractFeaturesAKAZE(), mrpt::vision::CFeatureExtraction::extractFeaturesFAST(), mrpt::vision::CFeatureExtraction::extractFeaturesKLT(), mrpt::vision::CFeatureExtraction::extractFeaturesLSD(), mrpt::vision::CFeatureExtraction::extractFeaturesORB(), mrpt::vision::CFeatureExtraction::extractFeaturesSIFT(), mrpt::vision::CFeatureExtraction::extractFeaturesSURF(), mrpt::vision::CFeatureList::loadFromTextFile(), mrpt::vision::projectMatchedFeature(), mrpt::vision::detail::trackFeatures_addNewFeats< CFeatureList >(), and mrpt::vision::detail::trackFeatures_addNewFeats_simple_list().
float mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::response {0} |
A measure of the "goodness" of the feature (typically, the KLT_response value)
Definition at line 46 of file TKeyPoint.h.
Referenced by mrpt::vision::CFeatureExtraction::extractFeaturesLSD(), mrpt::vision::CFeatureExtraction::extractFeaturesSIFT(), mrpt::vision::detail::trackFeatures_addNewFeats< CFeatureList >(), and mrpt::vision::detail::trackFeatures_addNewFeats_simple_list().
TFeatureTrackStatus mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::track_status {status_IDLE} |
Status of the feature tracking process.
Definition at line 42 of file TKeyPoint.h.
uint8_t mrpt::vision::TKeyPoint_templ< PIXEL_COORD_TYPE >::user_flags {0} |
A field for any other flags needed by the user (this has not a predefined meaning)
Definition at line 52 of file TKeyPoint.h.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020 |