A list of image features using the structure TSimpleFeature for each feature - capable of KD-tree computations Users normally use directly the typedef's: TSimpleFeatureList & TSimpleFeaturefList.
#include <mrpt/vision/TSimpleFeature.h>

Public Types | |
| typedef std::vector< FEATURE > | TFeatureVector |
Public Member Functions | |
Utilities | |
| const TFeatureVector & | getVector () const |
| Returns a const ref to the actual std::vector<> container. | |
| TFeatureID | getMaxID () const |
| Returns the maximum ID of all features in the list, or 0 if it's empty. | |
| 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. | |
| std::vector< size_t > & | getFirstIndexPerRowLUT () |
| mrpt::math::CMatrixBool & | getOccupiedSectionsMatrix () |
| Get a ref to the occupation matrix: this is a user-defined matrix, which is not updated automatically by this class. | |
| const mrpt::math::CMatrixBool & | getOccupiedSectionsMatrix () const |
getFeature*() methods for template-based access to feature list | |
| TSimpleFeatureTraits< FEATURE > ::coord_t | getFeatureX (size_t i) const |
| TSimpleFeatureTraits< FEATURE > ::coord_t | getFeatureY (size_t i) const |
| TFeatureID | getFeatureID (size_t i) const |
| float | getFeatureResponse (size_t i) const |
| bool | isPointFeature (size_t i) const |
| float | getScale (size_t i) const |
| TFeatureTrackStatus | getTrackStatus (size_t i) |
| void | setFeatureX (size_t i, typename TSimpleFeatureTraits< FEATURE >::coord_t x) |
| void | setFeatureY (size_t i, typename TSimpleFeatureTraits< 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. | |
| std::vector< size_t > | m_first_index_per_row |
| A LUT of the first feature index per row, to efficiently look for neighbors, etc. | |
| mrpt::math::CMatrixBool | m_occupied_sections |
Method and datatypes to emulate a STL container | |
| typedef TFeatureVector::iterator | iterator |
| typedef TFeatureVector::const_iterator | const_iterator |
| typedef TFeatureVector::reverse_iterator | reverse_iterator |
| typedef TFeatureVector::const_reverse_iterator | 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 | push_back_fast (const FEATURE &f) |
| void | push_back_fast (const int x, const int y) |
| FEATURE & | operator[] (const unsigned int index) |
| const FEATURE & | operator[] (const unsigned int index) const |
| FEATURE & | back () |
| const FEATURE & | back () const |
| FEATURE & | front () |
| const FEATURE & | front () const |
Definition at line 133 of file TSimpleFeature.h.
| typedef TFeatureVector::const_reverse_iterator mrpt::vision::TSimpleFeatureList_templ::const_reverse_iterator |
Definition at line 136 of file TSimpleFeature.h.
Definition at line 132 of file TSimpleFeature.h.
| typedef TFeatureVector::reverse_iterator mrpt::vision::TSimpleFeatureList_templ::reverse_iterator |
Definition at line 135 of file TSimpleFeature.h.
| typedef std::vector<FEATURE> mrpt::vision::TSimpleFeatureList_templ::TFeatureVector |
Definition at line 99 of file TSimpleFeature.h.
| FEATURE& mrpt::vision::TSimpleFeatureList_templ::back | ( | ) | [inline] |
Definition at line 164 of file TSimpleFeature.h.
| const FEATURE& mrpt::vision::TSimpleFeatureList_templ::back | ( | ) | const [inline] |
Definition at line 165 of file TSimpleFeature.h.
| iterator mrpt::vision::TSimpleFeatureList_templ::begin | ( | ) | [inline] |
Definition at line 138 of file TSimpleFeature.h.
| const_iterator mrpt::vision::TSimpleFeatureList_templ::begin | ( | ) | const [inline] |
Definition at line 140 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::clear | ( | void | ) | [inline] |
Definition at line 153 of file TSimpleFeature.h.
| bool mrpt::vision::TSimpleFeatureList_templ::empty | ( | ) | const [inline] |
Definition at line 150 of file TSimpleFeature.h.
Referenced by mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getMaxID().
| iterator mrpt::vision::TSimpleFeatureList_templ::end | ( | ) | [inline] |
Definition at line 139 of file TSimpleFeature.h.
| const_iterator mrpt::vision::TSimpleFeatureList_templ::end | ( | ) | const [inline] |
Definition at line 141 of file TSimpleFeature.h.
Definition at line 148 of file TSimpleFeature.h.
| FEATURE& mrpt::vision::TSimpleFeatureList_templ::front | ( | ) | [inline] |
Definition at line 167 of file TSimpleFeature.h.
| const FEATURE& mrpt::vision::TSimpleFeatureList_templ::front | ( | ) | const [inline] |
Definition at line 168 of file TSimpleFeature.h.
| TFeatureID mrpt::vision::TSimpleFeatureList_templ::getFeatureID | ( | size_t | i | ) | const [inline] |
Definition at line 176 of file TSimpleFeature.h.
| float mrpt::vision::TSimpleFeatureList_templ::getFeatureResponse | ( | size_t | i | ) | const [inline] |
Definition at line 177 of file TSimpleFeature.h.
| TSimpleFeatureTraits<FEATURE>::coord_t mrpt::vision::TSimpleFeatureList_templ::getFeatureX | ( | size_t | i | ) | const [inline] |
Definition at line 174 of file TSimpleFeature.h.
| TSimpleFeatureTraits<FEATURE>::coord_t mrpt::vision::TSimpleFeatureList_templ::getFeatureY | ( | size_t | i | ) | const [inline] |
Definition at line 175 of file TSimpleFeature.h.
| const std::vector<size_t>& mrpt::vision::TSimpleFeatureList_templ::getFirstIndexPerRowLUT | ( | ) | const [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 120 of file TSimpleFeature.h.
| std::vector<size_t>& mrpt::vision::TSimpleFeatureList_templ::getFirstIndexPerRowLUT | ( | ) | [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 122 of file TSimpleFeature.h.
| TFeatureID mrpt::vision::TSimpleFeatureList_templ::getMaxID | ( | ) | const [inline] |
Returns the maximum ID of all features in the list, or 0 if it's empty.
Definition at line 108 of file TSimpleFeature.h.
| mrpt::math::CMatrixBool& mrpt::vision::TSimpleFeatureList_templ::getOccupiedSectionsMatrix | ( | ) | [inline] |
Get a ref to the occupation matrix: this is a user-defined matrix, which is not updated automatically by this class.
Definition at line 125 of file TSimpleFeature.h.
| const mrpt::math::CMatrixBool& mrpt::vision::TSimpleFeatureList_templ::getOccupiedSectionsMatrix | ( | ) | const [inline] |
Definition at line 126 of file TSimpleFeature.h.
| float mrpt::vision::TSimpleFeatureList_templ::getScale | ( | size_t | i | ) | const [inline] |
Definition at line 179 of file TSimpleFeature.h.
| TFeatureTrackStatus mrpt::vision::TSimpleFeatureList_templ::getTrackStatus | ( | size_t | i | ) | [inline] |
Definition at line 180 of file TSimpleFeature.h.
| const TFeatureVector& mrpt::vision::TSimpleFeatureList_templ::getVector | ( | ) | const [inline] |
Returns a const ref to the actual std::vector<> container.
Definition at line 105 of file TSimpleFeature.h.
| bool mrpt::vision::TSimpleFeatureList_templ::isPointFeature | ( | size_t | i | ) | const [inline] |
Definition at line 178 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::mark_as_outdated | ( | ) | const [inline] |
Definition at line 193 of file TSimpleFeature.h.
| FEATURE& mrpt::vision::TSimpleFeatureList_templ::operator[] | ( | const unsigned int | index | ) | [inline] |
Definition at line 161 of file TSimpleFeature.h.
| const FEATURE& mrpt::vision::TSimpleFeatureList_templ::operator[] | ( | const unsigned int | index | ) | const [inline] |
Definition at line 162 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::push_back | ( | const FEATURE & | f | ) | [inline] |
Definition at line 157 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::push_back_fast | ( | const FEATURE & | f | ) | [inline] |
Definition at line 158 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::push_back_fast | ( | const int | x, |
| const int | y | ||
| ) | [inline] |
Definition at line 159 of file TSimpleFeature.h.
| reverse_iterator mrpt::vision::TSimpleFeatureList_templ::rbegin | ( | ) | [inline] |
Definition at line 143 of file TSimpleFeature.h.
| const_reverse_iterator mrpt::vision::TSimpleFeatureList_templ::rbegin | ( | ) | const [inline] |
Definition at line 145 of file TSimpleFeature.h.
| reverse_iterator mrpt::vision::TSimpleFeatureList_templ::rend | ( | ) | [inline] |
Definition at line 144 of file TSimpleFeature.h.
| const_reverse_iterator mrpt::vision::TSimpleFeatureList_templ::rend | ( | ) | const [inline] |
Definition at line 146 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::reserve | ( | size_t | N | ) | [inline] |
Definition at line 155 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::resize | ( | size_t | N | ) | [inline] |
Definition at line 154 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setFeatureID | ( | size_t | i, |
| TFeatureID | id | ||
| ) | [inline] |
Definition at line 188 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setFeatureResponse | ( | size_t | i, |
| float | r | ||
| ) | [inline] |
Definition at line 189 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setFeatureX | ( | size_t | i, |
| typename TSimpleFeatureTraits< FEATURE >::coord_t | x | ||
| ) | [inline] |
Definition at line 182 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setFeatureXf | ( | size_t | i, |
| float | x | ||
| ) | [inline] |
Definition at line 185 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setFeatureY | ( | size_t | i, |
| typename TSimpleFeatureTraits< FEATURE >::coord_t | y | ||
| ) | [inline] |
Definition at line 183 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setFeatureYf | ( | size_t | i, |
| float | y | ||
| ) | [inline] |
Definition at line 186 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setScale | ( | size_t | i, |
| float | s | ||
| ) | [inline] |
Definition at line 190 of file TSimpleFeature.h.
| void mrpt::vision::TSimpleFeatureList_templ::setTrackStatus | ( | size_t | i, |
| TFeatureTrackStatus | s | ||
| ) | [inline] |
Definition at line 191 of file TSimpleFeature.h.
| size_t mrpt::vision::TSimpleFeatureList_templ::size | ( | ) | const [inline] |
Definition at line 151 of file TSimpleFeature.h.
The actual container with the list of features.
Definition at line 197 of file TSimpleFeature.h.
Referenced by mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getVector(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getMaxID(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::begin(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::end(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::rbegin(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::rend(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::erase(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::empty(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::size(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::clear(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::resize(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::reserve(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::push_back(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::push_back_fast(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::operator[](), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::back(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::front(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getFeatureX(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getFeatureY(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getFeatureID(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getFeatureResponse(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getScale(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getTrackStatus(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setFeatureX(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setFeatureY(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setFeatureXf(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setFeatureYf(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setFeatureID(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setFeatureResponse(), mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setScale(), and mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::setTrackStatus().
std::vector<size_t> mrpt::vision::TSimpleFeatureList_templ::m_first_index_per_row [private] |
A LUT of the first feature index per row, to efficiently look for neighbors, etc.
Definition at line 198 of file TSimpleFeature.h.
Referenced by mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getFirstIndexPerRowLUT(), and mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::clear().
Definition at line 199 of file TSimpleFeature.h.
Referenced by mrpt::vision::TSimpleFeatureList_templ< TSimpleFeature >::getOccupiedSectionsMatrix().
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |