Lines Matching refs:EllipticKeyPoint
113 class EllipticKeyPoint class
116 EllipticKeyPoint();
117 EllipticKeyPoint( const Point2f& _center, const Scalar& _ellipse );
119 static void convert( const std::vector<KeyPoint>& src, std::vector<EllipticKeyPoint>& dst );
120 static void convert( const std::vector<EllipticKeyPoint>& src, std::vector<KeyPoint>& dst );
125 void calcProjection( const Mat_<double>& H, EllipticKeyPoint& projection ) const;
126 …void calcProjection( const std::vector<EllipticKeyPoint>& src, const Mat_<double>& H, std::vector<…
134 EllipticKeyPoint::EllipticKeyPoint() in EllipticKeyPoint() function in EllipticKeyPoint
136 *this = EllipticKeyPoint(Point2f(0,0), Scalar(1, 0, 1) ); in EllipticKeyPoint()
139 EllipticKeyPoint::EllipticKeyPoint( const Point2f& _center, const Scalar& _ellipse ) in EllipticKeyPoint() function in EllipticKeyPoint
155 Mat_<double> EllipticKeyPoint::getSecondMomentsMatrix( const Scalar& _ellipse ) in getSecondMomentsMatrix()
164 Mat_<double> EllipticKeyPoint::getSecondMomentsMatrix() const in getSecondMomentsMatrix()
169 void EllipticKeyPoint::calcProjection( const Mat_<double>& H, EllipticKeyPoint& projection ) const in calcProjection()
177 projection = EllipticKeyPoint( dstCenter, Scalar(dstM(0,0), dstM(0,1), dstM(1,1)) ); in calcProjection()
180 void EllipticKeyPoint::convert( const std::vector<KeyPoint>& src, std::vector<EllipticKeyPoint>& ds… in convert()
190 dst[i] = EllipticKeyPoint( src[i].pt, Scalar(fac, 0, fac) ); in convert()
195 void EllipticKeyPoint::convert( const std::vector<EllipticKeyPoint>& src, std::vector<KeyPoint>& ds… in convert()
209 void EllipticKeyPoint::calcProjection( const std::vector<EllipticKeyPoint>& src, const Mat_<double>… in calcProjection()
215 std::vector<EllipticKeyPoint>::const_iterator srcIt = src.begin(); in calcProjection()
216 std::vector<EllipticKeyPoint>::iterator dstIt = dst.begin(); in calcProjection()
222 static void filterEllipticKeyPointsByImageSize( std::vector<EllipticKeyPoint>& keypoints, const Siz… in filterEllipticKeyPointsByImageSize()
226 std::vector<EllipticKeyPoint> filtered; in filterEllipticKeyPointsByImageSize()
228 std::vector<EllipticKeyPoint>::const_iterator it = keypoints.begin(); in filterEllipticKeyPointsByImageSize()
317 …eOneToOneMatchedOverlaps( const std::vector<EllipticKeyPoint>& keypoints1, const std::vector<Ellip… in computeOneToOneMatchedOverlaps()
330 EllipticKeyPoint kp1 = keypoints1[i1]; in computeOneToOneMatchedOverlaps()
339 …EllipticKeyPoint keypoint1a = EllipticKeyPoint( kp1.center, Scalar(fac*kp1.ellipse[0], fac*kp1.ell… in computeOneToOneMatchedOverlaps()
343 EllipticKeyPoint kp2 = keypoints2t[i2]; in computeOneToOneMatchedOverlaps()
348 …EllipticKeyPoint keypoint2a = EllipticKeyPoint( kp2.center, Scalar(fac*kp2.ellipse[0], fac*kp2.ell… in computeOneToOneMatchedOverlaps()
396 std::vector<EllipticKeyPoint> keypoints1, keypoints2, keypoints1t, keypoints2t; in calculateRepeatability()
397 EllipticKeyPoint::convert( _keypoints1, keypoints1 ); in calculateRepeatability()
398 EllipticKeyPoint::convert( _keypoints2, keypoints2 ); in calculateRepeatability()
401 EllipticKeyPoint::calcProjection( keypoints1, H1to2, keypoints1t ); in calculateRepeatability()
403 EllipticKeyPoint::calcProjection( keypoints2, H2to1, keypoints2t ); in calculateRepeatability()