template struct mrpt::vision::KeypointResponseSorterΒΆ

A helper struct to sort keypoints by their response: It can be used with these types:

#include <mrpt/vision/TKeyPoint.h>

template <typename FEATURE_LIST>
struct KeypointResponseSorter: public std::function< bool(size_t, size_t)>
{
    //
fields

    const FEATURE_LIST& m_data;

    // construction

    KeypointResponseSorter(const FEATURE_LIST& data);

    //
methods

    bool operator () (
        size_t k1,
        size_t k2
        ) const;
};