我是靠谱客的博主 醉熏外套,这篇文章主要介绍opencv中java的dmatch_[OpenCV]DMatch类和KeyPoints类:特征点匹配,现在分享给大家,希望可以做个参考。

classCV_EXPORTS_W_SIMPLE KeyPoint

{public://! the default constructor

CV_WRAP KeyPoint() : pt(0,0), size(0), angle(-1), response(0), octave(0), class_id(-1) {}//! the full constructor

KeyPoint(Point2f _pt, float _size, float _angle=-1,float _response=0, int _octave=0, int _class_id=-1)

: pt(_pt), size(_size), angle(_angle),

response(_response), octave(_octave), class_id(_class_id) {}//! another form of the full constructor

CV_WRAP KeyPoint(float x, float y, float _size, float _angle=-1,float _response=0, int _octave=0, int _class_id=-1)

: pt(x, y), size(_size), angle(_angle),

response(_response), octave(_octave), class_id(_class_id) {}

size_t hash()const;//! converts vector of keypoints to vector of points

static void convert(const vector&keypoints,

CV_OUT vector&points2f,const vector& keypointIndexes=vector());//! converts vector of points to the vector of keypoints, where each keypoint is assigned the same size and the same orientation

static void convert(const vector&points2f,

CV_OUT vector&keypoints,float size=1, float response=1, int octave=0, int class_id=-1);//! computes overlap for pair of keypoints;//! overlap is a ratio between area of keypoint regions intersection and//! area of keypoint regions union (now keypoint region is circle)

static float overlap(const KeyPoint& kp1, const KeyPoint&kp2);

CV_PROP_RW Point2f pt;//!< coordinates of the keypoints

CV_PROP_RW float size; //!< diameter of the meaningful keypoint neighborhood

CV_PROP_RW float angle; //!< computed orientation of the keypoint (-1 if not applicable);//!< it's in [0,360) degrees and measured relative to//!< image coordinate system, ie in clockwise.

CV_PROP_RW float response; //!< the response by which the most strong keypoints have been selected. Can be used for the further sorting or subsampling

CV_PROP_RW int octave; //!< octave (pyramid layer) from which the keypoint has been extracted

CV_PROP_RW int class_id; //!< object class (if the keypoints need to be clustered by an object they belong to)

};

最后

以上就是醉熏外套最近收集整理的关于opencv中java的dmatch_[OpenCV]DMatch类和KeyPoints类:特征点匹配的全部内容,更多相关opencv中java内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(106)

评论列表共有 0 条评论

立即
投稿
返回
顶部