MRPT
2.0.1
|
A list of image features using the structure TKeyPoint for each feature Users normally will use directly: TKeyPointList, TKeyPointfList.
Definition at line 106 of file TKeyPoint.h.
#include <mrpt/vision/TKeyPoint.h>
Public Types | |
using | TFeatureVector = std::vector< FEATURE > |
using | feature_t = FEATURE |
Public Member Functions | |
Utilities | |
const TFeatureVector & | getVector () const |
Returns a const ref to the actual std::vector<> container. More... | |
TFeatureID | getMaxID () const |
Returns the maximum ID of all features in the list, or 0 if it's empty. More... | |
const std::vector< size_t > & | getFirstIndexPerRowLUT () const |
Returns a vector with a LUT of the first feature index per row, to efficiently look for neighbors, etc. More... | |
std::vector< size_t > & | getFirstIndexPerRowLUT () |
getFeature*() methods for template-based access to feature list | |
TKeyPointTraits< FEATURE >::coord_t | getFeatureX (size_t i) const |
TKeyPointTraits< FEATURE >::coord_t | getFeatureY (size_t i) const |
TFeatureID | getFeatureID (size_t i) const |
float | getFeatureResponse (size_t i) const |
bool | isPointFeature ([[maybe_unused]] size_t i) const |
float | getScale (size_t i) const |
TFeatureTrackStatus | getTrackStatus (size_t i) |
void | setFeatureX (size_t i, typename TKeyPointTraits< FEATURE >::coord_t x) |
void | setFeatureY (size_t i, typename TKeyPointTraits< FEATURE >::coord_t y) |
void | setFeatureXf (size_t i, float x) |
void | setFeatureYf (size_t i, float y) |
void | setFeatureID (size_t i, TFeatureID id) |
void | setFeatureResponse (size_t i, float r) |
void | setScale (size_t i, float s) |
void | setTrackStatus (size_t i, TFeatureTrackStatus s) |
void | mark_as_outdated () const |
Private Attributes | |
TFeatureVector | m_feats |
The actual container with the list of features. More... | |
std::vector< size_t > | m_first_index_per_row |
A LUT of the first feature index per row, to efficiently look for neighbors, etc. More... | |
mrpt::math::CMatrixBool | m_occupied_sections |
Method and datatypes to emulate a STL container | |
using | iterator = typename TFeatureVector::iterator |
using | const_iterator = typename TFeatureVector::const_iterator |
using | reverse_iterator = typename TFeatureVector::reverse_iterator |
using | const_reverse_iterator = typename TFeatureVector::const_reverse_iterator |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
iterator | erase (const iterator &it) |
bool | empty () const |
size_t | size () const |
void | clear () |
void | resize (size_t N) |
void | reserve (size_t N) |
void | push_back (const FEATURE &f) |
void | emplace_back (const int x, const int y) |
FEATURE & | operator[] (const std::size_t index) |
const FEATURE & | operator[] (const std::size_t index) const |
FEATURE & | back () |
const FEATURE & | back () const |
FEATURE & | front () |
const FEATURE & | front () const |
using mrpt::vision::TKeyPointList_templ< FEATURE >::const_iterator = typename TFeatureVector::const_iterator |
Definition at line 150 of file TKeyPoint.h.
using mrpt::vision::TKeyPointList_templ< FEATURE >::const_reverse_iterator = typename TFeatureVector::const_reverse_iterator |
Definition at line 154 of file TKeyPoint.h.
using mrpt::vision::TKeyPointList_templ< FEATURE >::feature_t = FEATURE |
Definition at line 110 of file TKeyPoint.h.
using mrpt::vision::TKeyPointList_templ< FEATURE >::iterator = typename TFeatureVector::iterator |
Definition at line 149 of file TKeyPoint.h.
using mrpt::vision::TKeyPointList_templ< FEATURE >::reverse_iterator = typename TFeatureVector::reverse_iterator |
Definition at line 152 of file TKeyPoint.h.
using mrpt::vision::TKeyPointList_templ< FEATURE >::TFeatureVector = std::vector<FEATURE> |
Definition at line 109 of file TKeyPoint.h.
|
inline |
Definition at line 189 of file TKeyPoint.h.
|
inline |
Definition at line 190 of file TKeyPoint.h.
|
inline |
Definition at line 156 of file TKeyPoint.h.
|
inline |
Definition at line 158 of file TKeyPoint.h.
|
inline |
Definition at line 167 of file TKeyPoint.h.
|
inline |
Definition at line 175 of file TKeyPoint.h.
|
inline |
Definition at line 165 of file TKeyPoint.h.
Referenced by mrpt::vision::TKeyPointList_templ< TKeyPoint >::getMaxID().
|
inline |
Definition at line 157 of file TKeyPoint.h.
|
inline |
Definition at line 159 of file TKeyPoint.h.
|
inline |
Definition at line 164 of file TKeyPoint.h.
|
inline |
Definition at line 191 of file TKeyPoint.h.
|
inline |
Definition at line 192 of file TKeyPoint.h.
|
inline |
Definition at line 207 of file TKeyPoint.h.
|
inline |
Definition at line 208 of file TKeyPoint.h.
|
inline |
Definition at line 197 of file TKeyPoint.h.
|
inline |
Definition at line 202 of file TKeyPoint.h.
|
inline |
Returns a vector with a LUT of the first feature index per row, to efficiently look for neighbors, etc.
By default this vector is empty, so if a feature detector is used that doesn't fill this out, it will remain empty and useless.
Definition at line 135 of file TKeyPoint.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 140 of file TKeyPoint.h.
|
inline |
Returns the maximum ID of all features in the list, or 0 if it's empty.
Definition at line 119 of file TKeyPoint.h.
|
inline |
Definition at line 213 of file TKeyPoint.h.
|
inline |
Definition at line 217 of file TKeyPoint.h.
|
inline |
Returns a const ref to the actual std::vector<> container.
Definition at line 116 of file TKeyPoint.h.
|
inline |
Definition at line 212 of file TKeyPoint.h.
|
inline |
Definition at line 256 of file TKeyPoint.h.
|
inline |
Definition at line 180 of file TKeyPoint.h.
|
inline |
Definition at line 184 of file TKeyPoint.h.
|
inline |
Definition at line 174 of file TKeyPoint.h.
|
inline |
Definition at line 160 of file TKeyPoint.h.
|
inline |
Definition at line 162 of file TKeyPoint.h.
|
inline |
Definition at line 161 of file TKeyPoint.h.
|
inline |
Definition at line 163 of file TKeyPoint.h.
|
inline |
Definition at line 173 of file TKeyPoint.h.
|
inline |
Definition at line 172 of file TKeyPoint.h.
|
inline |
Definition at line 242 of file TKeyPoint.h.
|
inline |
Definition at line 243 of file TKeyPoint.h.
|
inline |
Definition at line 222 of file TKeyPoint.h.
|
inline |
Definition at line 233 of file TKeyPoint.h.
|
inline |
Definition at line 227 of file TKeyPoint.h.
|
inline |
Definition at line 237 of file TKeyPoint.h.
|
inline |
Definition at line 247 of file TKeyPoint.h.
|
inline |
Definition at line 251 of file TKeyPoint.h.
|
inline |
Definition at line 166 of file TKeyPoint.h.
|
private |
The actual container with the list of features.
Definition at line 261 of file TKeyPoint.h.
Referenced by mrpt::vision::TKeyPointList_templ< TKeyPoint >::back(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::begin(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::clear(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::emplace_back(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::empty(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::end(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::erase(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::front(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getFeatureID(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getFeatureResponse(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getFeatureX(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getFeatureY(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getMaxID(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getScale(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getTrackStatus(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::getVector(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::operator[](), mrpt::vision::TKeyPointList_templ< TKeyPoint >::push_back(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::rbegin(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::rend(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::reserve(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::resize(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setFeatureID(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setFeatureResponse(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setFeatureX(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setFeatureXf(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setFeatureY(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setFeatureYf(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setScale(), mrpt::vision::TKeyPointList_templ< TKeyPoint >::setTrackStatus(), and mrpt::vision::TKeyPointList_templ< TKeyPoint >::size().
|
private |
A LUT of the first feature index per row, to efficiently look for neighbors, etc.
Definition at line 264 of file TKeyPoint.h.
Referenced by mrpt::vision::TKeyPointList_templ< TKeyPoint >::clear(), and mrpt::vision::TKeyPointList_templ< TKeyPoint >::getFirstIndexPerRowLUT().
|
private |
Definition at line 265 of file TKeyPoint.h.
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |