keypointportionselector.hpp 616 Bytes
Newer Older
1 2 3 4 5
#ifndef CVVISUAL_KEY_POINT_PORTION_SELECTOR
#define CVVISUAL_KEY_POINT_PORTION_SELECTOR

#include <vector>

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

#include "keypointselection.hpp"
#include "keypointvaluechooser.hpp"
#include "../portionselector.hpp"

namespace cvv {namespace qtutil{

class KeyPointPortionSelection:public KeyPointSelection{
public:
	KeyPointPortionSelection(std::vector<cv::KeyPoint>, QWidget * parent=nullptr);


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

private:
	PortionSelector* selector_;
	KeyPointValueChooser * valueChooser_;
};

}}

#endif