keypointselection.hpp 533 Bytes
Newer Older
1 2 3 4 5
#ifndef CVVISUAL_KEY_POINT_SELECTOR
#define CVVISUAL_KEY_POINT_SELECTOR

#include <QFrame>

Maksim Shabunin's avatar
Maksim Shabunin committed
6
#include "opencv2/features2d.hpp"
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

namespace cvv{ namespace qtutil{

/**
 * @brief this class select keypoints from a given selection
 */
class KeyPointSelection:public QFrame{

	Q_OBJECT

public:
	/**
	 * @brief the constructor
	 */
	KeyPointSelection(QWidget * parent =nullptr):QFrame{parent}{}


	virtual std::vector<cv::KeyPoint> select(const std::vector<cv::KeyPoint>& selection) = 0;

signals:

	void settingsChanged();

};

}}
#endif