ha4t.aircv.keypoint_matching_contrib module
Detect keypoints with BRIEF/SIFT/SURF.
Need opencv-contrib module.
-
check_cv_version_is_new()[源代码]
opencv版本是3.0或4.0以上, API接口与2.0的不同.
-
class BRIEFMatching(im_search, im_source, threshold=0.8, rgb=True)[源代码]
基类:KeypointMatching
FastFeature Matching.
-
METHOD_NAME = 'BRIEF'
-
init_detector()[源代码]
Init keypoint detector object.
-
get_keypoints_and_descriptors(image)[源代码]
获取图像特征点和描述符.
-
match_keypoints(des_sch, des_src)[源代码]
Match descriptors (特征值匹配).
-
class SIFTMatching(im_search, im_source, threshold=0.8, rgb=True)[源代码]
基类:KeypointMatching
SIFT Matching.
-
METHOD_NAME = 'SIFT'
-
FLANN_INDEX_KDTREE = 0
-
init_detector()[源代码]
Init keypoint detector object.
-
get_keypoints_and_descriptors(image)[源代码]
获取图像特征点和描述符.
-
match_keypoints(des_sch, des_src)[源代码]
Match descriptors (特征值匹配).
-
class SURFMatching(im_search, im_source, threshold=0.8, rgb=True)[源代码]
基类:KeypointMatching
SURF Matching.
-
METHOD_NAME = 'SURF'
-
UPRIGHT = 0
-
HESSIAN_THRESHOLD = 400
-
FLANN_INDEX_KDTREE = 0
-
init_detector()[源代码]
Init keypoint detector object.
-
get_keypoints_and_descriptors(image)[源代码]
获取图像特征点和描述符.
-
match_keypoints(des_sch, des_src)[源代码]
Match descriptors (特征值匹配).