SLAMflex SE  0.1.0
SLAMflex provides detection and tracking of dominant planes for smartphone devices. This plane can then be used to show AR content relative to the plane orientation. The detection of plane is performed in the field of view of the smartphone camera. In subsequent frames it is tracked. The interface returns the plane position and orientation.
nonmax_suppression.h
Go to the documentation of this file.
1 #ifndef CVD_NONMAX_SUPPRESSION_H
2 #define CVD_NONMAX_SUPPRESSION_H
3 
4 #include <vector>
5 #include <utility>
6 #include "image_ref.h"
7 
8 namespace CVD
9 {
18  void nonmax_suppression_strict(const std::vector<ImageRef>& corners, const std::vector<int>& scores, std::vector<ImageRef>& nmax_corners);
27  void nonmax_suppression(const std::vector<ImageRef>& corners, const std::vector<int>& scores, std::vector<ImageRef>& nmax_corners);
28 
29 
38  void nonmax_suppression_with_scores(const std::vector<ImageRef>& corners, const std::vector<int>& socres, std::vector<std::pair<ImageRef,int> >& max_corners);
39 
40 }
41 
42 #endif
void nonmax_suppression_with_scores(const vector< ImageRef > &corners, const vector< int > &scores, vector< pair< ImageRef, int > > &nonmax_corners)
Definition: abs.h:24
void nonmax_suppression(const vector< ImageRef > &corners, const vector< int > &scores, vector< ImageRef > &nonmax_corners)
void nonmax_suppression_strict(const vector< ImageRef > &corners, const vector< int > &scores, vector< ImageRef > &nonmax_corners)