Home
last modified time | relevance | path

Searched refs:KeyPoint (Results 1 – 25 of 103) sorted by relevance

12345

/external/opencv3/modules/core/misc/java/src/java/
Dcore+MatOfKeyPoint.java6 import org.opencv.core.KeyPoint;
35 public MatOfKeyPoint(KeyPoint...a) { in MatOfKeyPoint()
45 public void fromArray(KeyPoint...a) { in fromArray()
52 KeyPoint kp = a[i]; in fromArray()
64 public KeyPoint[] toArray() { in toArray()
66 KeyPoint[] a = new KeyPoint[num]; in toArray()
72 …a[i] = new KeyPoint( buff[_channels*i+0], buff[_channels*i+1], buff[_channels*i+2], buff[_channels… in toArray()
77 public void fromList(List<KeyPoint> lkp) { in fromList()
78 KeyPoint akp[] = lkp.toArray(new KeyPoint[0]); in fromList()
82 public List<KeyPoint> toList() { in toList()
[all …]
Dcore+KeyPoint.java6 public class KeyPoint { class
36 …public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave, int _cl… in KeyPoint() method in KeyPoint
47 public KeyPoint() in KeyPoint() method in KeyPoint
53 public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave) in KeyPoint() method in KeyPoint
59 public KeyPoint(float x, float y, float _size, float _angle, float _response) in KeyPoint() method in KeyPoint
65 public KeyPoint(float x, float y, float _size, float _angle) in KeyPoint() method in KeyPoint
71 public KeyPoint(float x, float y, float _size) in KeyPoint() method in KeyPoint
/external/opencv3/modules/features2d/src/
Dkeypoint.cpp53 inline bool operator()(const KeyPoint& kpt) const in operator ()()
62 inline bool operator()(const KeyPoint& kp1, const KeyPoint& kp2) const in operator ()()
69 void KeyPointsFilter::retainBest(std::vector<KeyPoint>& keypoints, int n_points) in retainBest()
84 std::vector<KeyPoint>::const_iterator new_end = in retainBest()
97 bool operator()( const KeyPoint& keyPt ) const in operator ()()
105 void KeyPointsFilter::runByImageBorder( std::vector<KeyPoint>& keypoints, Size imageSize, int borde… in runByImageBorder()
124 bool operator()( const KeyPoint& keyPt ) const in operator ()()
133 void KeyPointsFilter::runByKeypointSize( std::vector<KeyPoint>& keypoints, float minSize, float max… in runByKeypointSize()
147 bool operator() (const KeyPoint& key_pt) const in operator ()()
157 void KeyPointsFilter::runByPixelsMask( std::vector<KeyPoint>& keypoints, const Mat& mask ) in runByPixelsMask()
[all …]
Ddraw.cpp53 static inline void _drawKeypoint( InputOutputArray img, const KeyPoint& p, const Scalar& color, int… in _drawKeypoint()
91 void drawKeypoints( InputArray image, const std::vector<KeyPoint>& keypoints, InputOutputArray outI… in drawKeypoints()
114 std::vector<KeyPoint>::const_iterator it = keypoints.begin(), in drawKeypoints()
123 static void _prepareImgAndDrawKeypoints( InputArray img1, const std::vector<KeyPoint>& keypoints1, in _prepareImgAndDrawKeypoints()
124 InputArray img2, const std::vector<KeyPoint>& keypoints2, in _prepareImgAndDrawKeypoints()
170 … const KeyPoint& kp1, const KeyPoint& kp2, const Scalar& matchColor, int flags ) in _drawMatch()
189 void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, in drawMatches()
190 InputArray img2, const std::vector<KeyPoint>& keypoints2, in drawMatches()
212 const KeyPoint &kp1 = keypoints1[i1], &kp2 = keypoints2[i2]; in drawMatches()
218 void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, in drawMatches()
[all …]
Dfeature2d.cpp60 std::vector<KeyPoint>& keypoints, in detect()
73 std::vector<std::vector<KeyPoint> >& keypoints, in detect()
102 std::vector<KeyPoint>& keypoints, in compute()
114 std::vector<std::vector<KeyPoint> >& keypoints, in compute()
140 std::vector<KeyPoint>&, in detectAndCompute() argument
/external/opencv3/modules/core/misc/java/test/
DKeyPointTest.java4 import org.opencv.core.KeyPoint;
11 private KeyPoint keyPoint;
33 keyPoint = new KeyPoint(); in testKeyPoint()
38 keyPoint = new KeyPoint(x, y, size); in testKeyPointFloatFloatFloat()
43 keyPoint = new KeyPoint(x, y, size, 10.0f); in testKeyPointFloatFloatFloatFloat()
48 keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f); in testKeyPointFloatFloatFloatFloatFloat()
53 keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1); in testKeyPointFloatFloatFloatFloatFloatInt()
58 keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1, 1); in testKeyPointFloatFloatFloatFloatFloatIntInt()
63 keyPoint = new KeyPoint(x, y, size, angle, response, octave, classId); in testToString()
/external/opencv3/modules/features2d/misc/java/test/
DSURFFeatureDetectorTest.java16 import org.opencv.core.KeyPoint;
25 KeyPoint[] truth;
42 private void order(List<KeyPoint> points) { in order()
43 Collections.sort(points, new Comparator<KeyPoint>() { in order()
44 public int compare(KeyPoint p1, KeyPoint p2) { in order()
59 truth = new KeyPoint[] { in setUp()
60 new KeyPoint(55.775578f, 55.775578f, 16, 80.245735f, 8617.8633f, 0, -1), in setUp()
61 new KeyPoint(44.224422f, 55.775578f, 16, 170.24574f, 8617.8633f, 0, -1), in setUp()
62 new KeyPoint(44.224422f, 44.224422f, 16, 260.24573f, 8617.8633f, 0, -1), in setUp()
63 new KeyPoint(55.775578f, 44.224422f, 16, 350.24573f, 8617.8633f, 0, -1) in setUp()
[all …]
DSTARFeatureDetectorTest.java12 import org.opencv.core.KeyPoint;
21 KeyPoint[] truth;
49 truth = new KeyPoint[] { in setUp()
50 new KeyPoint( 95, 80, 22, -1, 31.5957f, 0, -1), in setUp()
51 new KeyPoint(105, 80, 22, -1, 31.5957f, 0, -1), in setUp()
52 new KeyPoint( 80, 95, 22, -1, 31.5957f, 0, -1), in setUp()
53 new KeyPoint(120, 95, 22, -1, 31.5957f, 0, -1), in setUp()
54 new KeyPoint(100, 100, 8, -1, 30.f, 0, -1), in setUp()
55 new KeyPoint( 80, 105, 22, -1, 31.5957f, 0, -1), in setUp()
56 new KeyPoint(120, 105, 22, -1, 31.5957f, 0, -1), in setUp()
[all …]
DFASTFeatureDetectorTest.java12 import org.opencv.core.KeyPoint;
20 KeyPoint[] truth;
39 …truth = new KeyPoint[] { new KeyPoint(32, 27, 7, -1, 254, 0, -1), new KeyPoint(27, 32, 7, -1, 254,… in setUp()
40 new KeyPoint(68, 73, 7, -1, 254, 0, -1) }; in setUp()
DORBDescriptorExtractorTest.java10 import org.opencv.core.KeyPoint;
45KeyPoint point = new KeyPoint(55.775577545166016f, 44.224422454833984f, 16, 9.754629f, 8617.863f, … in testComputeMatListOfKeyPointMat()
78KeyPoint point = new KeyPoint(55.775577545166016f, 44.224422454833984f, 16, 9.754629f, 8617.863f, … in testRead()
/external/opencv3/modules/features2d/src/kaze/
DKAZEFeatures.h34 std::vector<std::vector<cv::KeyPoint> > kpts_par_;
50 void Feature_Detection(std::vector<cv::KeyPoint>& kpts);
51 void Feature_Description(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc);
52 …static void Compute_Main_Orientation(cv::KeyPoint& kpt, const std::vector<TEvolution>& evolution_,…
58 void Determinant_Hessian(std::vector<cv::KeyPoint>& kpts);
59 void Do_Subpixel_Refinement(std::vector<cv::KeyPoint>& kpts);
DAKAZEFeatures.h48 void Feature_Detection(std::vector<cv::KeyPoint>& kpts);
51 void Find_Scale_Space_Extrema(std::vector<cv::KeyPoint>& kpts);
52 void Do_Subpixel_Refinement(std::vector<cv::KeyPoint>& kpts);
55 void Compute_Descriptors(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc);
56 …static void Compute_Main_Orientation(cv::KeyPoint& kpt, const std::vector<TEvolution>& evolution_);
/external/opencv3/modules/core/src/
Dtypes.cpp49 size_t KeyPoint::hash() const in hash()
63 void KeyPoint::convert(const std::vector<KeyPoint>& keypoints, std::vector<Point2f>& points2f, in convert()
89 void KeyPoint::convert( const std::vector<Point2f>& points2f, std::vector<KeyPoint>& keypoints, in convert()
94 keypoints[i] = KeyPoint(points2f[i], size, -1, response, octave, class_id); in convert()
97 float KeyPoint::overlap( const KeyPoint& kp1, const KeyPoint& kp2 ) in overlap()
/external/opencv3/modules/features2d/test/
Dtest_detectors_regression.cpp63 bool isSimilarKeypoints( const KeyPoint& p1, const KeyPoint& p2 );
64 …void compareKeypointSets( const vector<KeyPoint>& validKeypoints, const vector<KeyPoint>& calcKeyp…
79 vector<KeyPoint> keypoints; in emptyDataTest()
99 vector<vector<KeyPoint> > keypointCollection; in emptyDataTest()
111 bool CV_FeatureDetectorTest::isSimilarKeypoints( const KeyPoint& p1, const KeyPoint& p2 ) in isSimilarKeypoints()
127 …tureDetectorTest::compareKeypointSets( const vector<KeyPoint>& validKeypoints, const vector<KeyPoi… in compareKeypointSets()
192 vector<KeyPoint> calcKeypoints; in regressionTest()
200 vector<KeyPoint> validKeypoints; in regressionTest()
Dtest_rotation_and_scale_invariance.cpp88 void rotateKeyPoints(const vector<KeyPoint>& src, const Mat& H, float angle, vector<KeyPoint>& dst) in rotateKeyPoints()
92 KeyPoint::convert(src, srcCenters); in rotateKeyPoints()
107 void scaleKeyPoints(const vector<KeyPoint>& src, vector<KeyPoint>& dst, float scale) in scaleKeyPoints()
111 … dst[i] = KeyPoint(src[i].pt.x * scale, src[i].pt.y * scale, src[i].size * scale, src[i].angle); in scaleKeyPoints()
149 void matchKeyPoints(const vector<KeyPoint>& keypoints0, const Mat& H, in matchKeyPoints()
150 const vector<KeyPoint>& keypoints1, in matchKeyPoints()
154 KeyPoint::convert(keypoints0, points0); in matchKeyPoints()
217 vector<KeyPoint> keypoints0; in run()
227 vector<KeyPoint> keypoints1; in run()
329 vector<KeyPoint> keypoints0; in run()
[all …]
Dtest_agast.cpp77 vector<KeyPoint> keypoints1; in run()
78 vector<KeyPoint> keypoints2; in run()
84 const KeyPoint& kp = keypoints1[i]; in run()
90 const KeyPoint& kp = keypoints2[i]; in run()
94 Mat kps1(1, (int)(keypoints1.size() * sizeof(KeyPoint)), CV_8U, &keypoints1[0]); in run()
95 Mat kps2(1, (int)(keypoints2.size() * sizeof(KeyPoint)), CV_8U, &keypoints2[0]); in run()
Dtest_fast.cpp77 vector<KeyPoint> keypoints1; in run()
78 vector<KeyPoint> keypoints2; in run()
84 const KeyPoint& kp = keypoints1[i]; in run()
90 const KeyPoint& kp = keypoints2[i]; in run()
94 Mat kps1(1, (int)(keypoints1.size() * sizeof(KeyPoint)), CV_8U, &keypoints1[0]); in run()
95 Mat kps2(1, (int)(keypoints2.size() * sizeof(KeyPoint)), CV_8U, &keypoints2[0]); in run()
Dtest_brisk.cpp77 vector<KeyPoint> keypoints1; in run()
78 vector<KeyPoint> keypoints2; in run()
84 const KeyPoint& kp = keypoints1[i]; in run()
90 const KeyPoint& kp = keypoints2[i]; in run()
/external/opencv3/modules/features2d/include/opencv2/
Dfeatures2d.hpp106 … static void runByImageBorder( std::vector<KeyPoint>& keypoints, Size imageSize, int borderSize );
110 static void runByKeypointSize( std::vector<KeyPoint>& keypoints, float minSize,
115 static void runByPixelsMask( std::vector<KeyPoint>& keypoints, const Mat& mask );
119 static void removeDuplicated( std::vector<KeyPoint>& keypoints );
124 static void retainBest( std::vector<KeyPoint>& keypoints, int npoints );
146 CV_OUT std::vector<KeyPoint>& keypoints,
157 std::vector<std::vector<KeyPoint> >& keypoints,
172 CV_OUT CV_IN_OUT std::vector<KeyPoint>& keypoints,
186 std::vector<std::vector<KeyPoint> >& keypoints,
191 CV_OUT std::vector<KeyPoint>& keypoints,
[all …]
/external/opencv3/modules/ts/src/
Dcuda_test.cpp437 bool keyPointsEquals(const cv::KeyPoint& p1, const cv::KeyPoint& p2) in keyPointsEquals()
459 struct KeyPointLess : std::binary_function<cv::KeyPoint, cv::KeyPoint, bool>
461 bool operator()(const cv::KeyPoint& kp1, const cv::KeyPoint& kp2) const in operator ()()
468 …ar* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>… in assertKeyPointsEquals()
482 const cv::KeyPoint& p1 = gold[i]; in assertKeyPointsEquals()
483 const cv::KeyPoint& p2 = actual[i]; in assertKeyPointsEquals()
501 int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) in getMatchedPointsCount()
510 const cv::KeyPoint& p1 = gold[i]; in getMatchedPointsCount()
511 const cv::KeyPoint& p2 = actual[i]; in getMatchedPointsCount()
520 …int getMatchedPointsCount(const std::vector<cv::KeyPoint>& keypoints1, const std::vector<cv::KeyPo… in getMatchedPointsCount()
[all …]
Dcuda_perf.cpp271 std::vector<cv::KeyPoint>* keypoints;
273 … explicit KeypointIdxCompare(std::vector<cv::KeyPoint>* _keypoints) : keypoints(_keypoints) {} in KeypointIdxCompare()
277 cv::KeyPoint kp1 = (*keypoints)[i1]; in operator ()()
278 cv::KeyPoint kp2 = (*keypoints)[i2]; in operator ()()
289 void sortKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors) in sortKeyPoints()
297 std::vector<cv::KeyPoint> new_keypoints; in sortKeyPoints()
/external/opencv3/modules/features2d/misc/java/src/cpp/
Dfeatures2d_converters.cpp11 void Mat_to_vector_KeyPoint(Mat& mat, std::vector<KeyPoint>& v_kp) in Mat_to_vector_KeyPoint()
18 KeyPoint kp(v[0], v[1], v[2], v[3], v[4], (int)v[5], (int)v[6]); in Mat_to_vector_KeyPoint()
25 void vector_KeyPoint_to_Mat(std::vector<KeyPoint>& v_kp, Mat& mat) in vector_KeyPoint_to_Mat()
31 KeyPoint kp = v_kp[i]; in vector_KeyPoint_to_Mat()
62 void Mat_to_vector_vector_KeyPoint(Mat& mat, std::vector< std::vector< KeyPoint > >& vv_kp) in Mat_to_vector_vector_KeyPoint()
69 std::vector<KeyPoint> vkp; in Mat_to_vector_vector_KeyPoint()
75 void vector_vector_KeyPoint_to_Mat(std::vector< std::vector< KeyPoint > >& vv_kp, Mat& mat) in vector_vector_KeyPoint_to_Mat()
Dfeatures2d_converters.hpp9 void Mat_to_vector_KeyPoint(cv::Mat& mat, std::vector<cv::KeyPoint>& v_kp);
10 void vector_KeyPoint_to_Mat(std::vector<cv::KeyPoint>& v_kp, cv::Mat& mat);
15 void Mat_to_vector_vector_KeyPoint(cv::Mat& mat, std::vector< std::vector< cv::KeyPoint > >& vv_kp);
16 void vector_vector_KeyPoint_to_Mat(std::vector< std::vector< cv::KeyPoint > >& vv_kp, cv::Mat& mat);
Dfeatures2d_manual.hpp18 …CV_WRAP void detect( const Mat& image, CV_OUT std::vector<KeyPoint>& keypoints, const Mat& mask=Ma… in CV_EXPORTS_AS()
21 …CV_WRAP void detect( const std::vector<Mat>& images, CV_OUT std::vector<std::vector<KeyPoint> >& k… in CV_EXPORTS_AS()
298 …CV_WRAP void compute( const Mat& image, CV_IN_OUT std::vector<KeyPoint>& keypoints, Mat& descripto…
301 …pute( const std::vector<Mat>& images, CV_IN_OUT std::vector<std::vector<KeyPoint> >& keypoints, CV…
412 CV_EXPORTS_W void drawKeypoints( const Mat& image, const std::vector<KeyPoint>& keypoints, Mat& out…
416 CV_EXPORTS_W void drawMatches( const Mat& img1, const std::vector<KeyPoint>& keypoints1,
417 const Mat& img2, const std::vector<KeyPoint>& keypoints2,
422 CV_EXPORTS_AS(drawMatches2) void drawMatches( const Mat& img1, const std::vector<KeyPoint>& keypoin…
423 const Mat& img2, const std::vector<KeyPoint>& keypoints2,
/external/opencv3/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/
DRobustMatcher.h41 void computeKeyPoints( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints);
44 …void computeDescriptors( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints, cv::Mat& desc…
62 std::vector<cv::KeyPoint>& keypoints_frame,
67 std::vector<cv::KeyPoint>& keypoints_frame,

12345