Home
last modified time | relevance | path

Searched refs:kp2 (Results 1 – 17 of 17) sorted by relevance

/external/opencv3/modules/features2d/src/
Dkeypoint.cpp62 inline bool operator()(const KeyPoint& kp1, const KeyPoint& kp2) const in operator ()()
64 return kp1.response > kp2.response; in operator ()()
171 const KeyPoint& kp2 = (*kp)[j]; in operator ()() local
172 if( kp1.pt.x != kp2.pt.x ) in operator ()()
173 return kp1.pt.x < kp2.pt.x; in operator ()()
174 if( kp1.pt.y != kp2.pt.y ) in operator ()()
175 return kp1.pt.y < kp2.pt.y; in operator ()()
176 if( kp1.size != kp2.size ) in operator ()()
177 return kp1.size > kp2.size; in operator ()()
178 if( kp1.angle != kp2.angle ) in operator ()()
[all …]
Ddraw.cpp170 … const KeyPoint& kp1, const KeyPoint& kp2, const Scalar& matchColor, int flags ) in _drawMatch() argument
177 _drawKeypoint( outImg2, kp2, color, flags ); in _drawMatch()
180 pt2 = kp2.pt, in _drawMatch()
212 const KeyPoint &kp1 = keypoints1[i1], &kp2 = keypoints2[i2]; in drawMatches() local
213 _drawMatch( outImg, outImg1, outImg2, kp1, kp2, matchColor, flags ); in drawMatches()
240 const KeyPoint &kp1 = keypoints1[i1], &kp2 = keypoints2[i2]; in drawMatches() local
241 _drawMatch( outImg, outImg1, outImg2, kp1, kp2, matchColor, flags ); in drawMatches()
Devaluation.cpp343 EllipticKeyPoint kp2 = keypoints2t[i2]; in computeOneToOneMatchedOverlaps() local
344 Point2f diff = kp2.center - kp1.center; in computeOneToOneMatchedOverlaps()
348 …ticKeyPoint keypoint2a = EllipticKeyPoint( kp2.center, Scalar(fac*kp2.ellipse[0], fac*kp2.ellipse[… in computeOneToOneMatchedOverlaps()
Dfast.cpp301 UMat kp2(1, maxKeypoints*3+1, CV_32S); in ocl_FAST() local
302 UMat ucounter2 = kp2(Rect(0,0,1,1)); in ocl_FAST()
311 ocl::KernelArg::PtrReadWrite(kp2), in ocl_FAST()
317 kp2(Rect(0, 0, counter*3+1, 1)).copyTo(m2); in ocl_FAST()
/external/opencv3/modules/ts/src/
Dcuda_perf.cpp278 cv::KeyPoint kp2 = (*keypoints)[i2]; in operator ()() local
279 if (kp1.pt.x != kp2.pt.x) in operator ()()
280 return kp1.pt.x < kp2.pt.x; in operator ()()
281 if (kp1.pt.y != kp2.pt.y) in operator ()()
282 return kp1.pt.y < kp2.pt.y; in operator ()()
283 if (kp1.response != kp2.response) in operator ()()
284 return kp1.response < kp2.response; in operator ()()
285 return kp1.octave < kp2.octave; in operator ()()
Dcuda_test.cpp461 bool operator()(const cv::KeyPoint& kp1, const cv::KeyPoint& kp2) const in operator ()()
463 return kp1.pt.y < kp2.pt.y || (kp1.pt.y == kp2.pt.y && kp1.pt.x < kp2.pt.x); in operator ()()
/external/opencv3/samples/python2/
Dfind_obj.py58 def filter_matches(kp1, kp2, matches, ratio = 0.75): argument
64 mkp2.append( kp2[m.trainIdx] )
123 kp1, kp2 = kp_pairs[i]
125 kp2s.append(kp2)
166 kp2, desc2 = detector.detectAndCompute(img2, None) variable
167 print 'img1 - %d features, img2 - %d features' % (len(kp1), len(kp2))
172 p1, p2, kp_pairs = filter_matches(kp1, kp2, raw_matches)
Dasift.py139 kp2, desc2 = affine_detect(detector, img2, pool=pool) variable
140 print 'img1 - %d features, img2 - %d features' % (len(kp1), len(kp2))
145 p1, p2, kp_pairs = filter_matches(kp1, kp2, raw_matches)
/external/opencv3/modules/core/src/
Dtypes.cpp97 float KeyPoint::overlap( const KeyPoint& kp1, const KeyPoint& kp2 ) in overlap() argument
100 float b = kp2.size * 0.5f; in overlap()
105 Point2f p2 = kp2.pt; in overlap()
117 float cosAlpha = ( b_2 + c_2 - a_2 ) / ( kp2.size * c ); in overlap()
/external/opencv3/modules/ts/include/opencv2/ts/
Dts_perf.hpp673 bool operator()(const cv::KeyPoint& kp1, const cv::KeyPoint& kp2) const in operator ()()
675 if (kp1.response > kp2.response) return true; in operator ()()
676 if (kp1.response < kp2.response) return false; in operator ()()
677 if (kp1.size > kp2.size) return true; in operator ()()
678 if (kp1.size < kp2.size) return false; in operator ()()
679 if (kp1.octave > kp2.octave) return true; in operator ()()
680 if (kp1.octave < kp2.octave) return false; in operator ()()
681 if (kp1.pt.y < kp2.pt.y) return false; in operator ()()
682 if (kp1.pt.y > kp2.pt.y) return true; in operator ()()
683 return kp1.pt.x < kp2.pt.x; in operator ()()
/external/opencv3/doc/py_tutorials/py_feature2d/py_matcher/
Dpy_matcher.markdown64 kp2, des2 = orb.detectAndCompute(img2,None)
82 img3 = cv2.drawMatches(img1,kp1,img2,kp2,matches[:10], flags=2)
117 kp2, des2 = sift.detectAndCompute(img2,None)
130 img3 = cv2.drawMatchesKnn(img1,kp1,img2,kp2,good,flags=2)
179 kp2, des2 = sift.detectAndCompute(img2,None)
203 img3 = cv2.drawMatchesKnn(img1,kp1,img2,kp2,matches,None,**draw_params)
/external/opencv3/doc/py_tutorials/py_feature2d/py_feature_homography/
Dpy_feature_homography.markdown51 kp2, des2 = sift.detectAndCompute(img2,None)
76 dst_pts = np.float32([ kp2[m.trainIdx].pt for m in good ]).reshape(-1,1,2)
98 img3 = cv2.drawMatches(img1,kp1,img2,kp2,good,None,**draw_params)
/external/freetype/src/psaux/
Dafmparse.c674 AFM_KernPair kp2 = (AFM_KernPair)b; in afm_compare_kern_pairs() local
677 FT_ULong index2 = KERN_INDEX( kp2->index1, kp2->index2 ); in afm_compare_kern_pairs()
/external/pdfium/third_party/freetype/src/psaux/
Dafmparse.c674 AFM_KernPair kp2 = (AFM_KernPair)b; in afm_compare_kern_pairs() local
677 FT_ULong index2 = KERN_INDEX( kp2->index1, kp2->index2 ); in afm_compare_kern_pairs()
/external/opencv3/doc/py_tutorials/py_calib3d/py_epipolar_geometry/
Dpy_epipolar_geometry.markdown86 kp2, des2 = sift.detectAndCompute(img2,None)
104 pts2.append(kp2[m.trainIdx].pt)
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java226 KeyPair kp2 = kpg.generateKeyPair(); in test_EVP_PKEY_cmp() local
227 RSAPrivateCrtKey privKey2 = (RSAPrivateCrtKey) kp2.getPrivate(); in test_EVP_PKEY_cmp()
/external/opencv3/modules/core/include/opencv2/core/
Dtypes.hpp690 CV_WRAP static float overlap(const KeyPoint& kp1, const KeyPoint& kp2);