From 913e07ae1d0b72376865bbb2eef5359cd032970b Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 17 Aug 2018 16:31:25 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9solution=20du=20probl=C3=A8me=20du=20nom?= =?UTF-8?q?bre=20de=20match=20(Asift=5Fmatcher)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - README.md~ | 4 ++-- asift_gen/ASIFT_matcher.cpp | 2 ++ asift_matching/src/ASIFT_matcher.cpp | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c0c4938..7b370d3 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ Thus refrences are required for the module to work properly. It can be loaded th ### Done ### Todo -asift_matching - ASIFT_matcher : Issue on total number of match (after filtering ?). asift_matching - ROS_matcher : Working loader of images for reference. asift_matching - ROS_matcher : Improve reactivity. Slow process due to the message queue length ? asift_matching - ROS_matcher : Swap the callback function to a service called for matching. diff --git a/README.md~ b/README.md~ index 0c0b993..c0c4938 100644 --- a/README.md~ +++ b/README.md~ @@ -63,7 +63,7 @@ asift_matching - ROS_matcher : Swap the callback function to a service called fo - roslaunch rviz_interface interface_plannar_seg.launch * Setup rviz : - set fixed frame to camera_rgb_optical_frame. - - add an InteractiveMarker and set topic to /RvizInterface/update. + - add an InteractiveMarker and set topic to (server_topic parameter)/update. - add a Marker and set topic to vizualization_topic parameter. - add the Rviz interface panel. - add a PointCloud2 and set topic to /camera/depth_registered/points. @@ -80,7 +80,7 @@ asift_matching - ROS_matcher : Swap the callback function to a service called fo - roslaunch rviz_interface interface_matching.launch * Setup rviz : - set fixed frame to camera_rgb_optical_frame. - - add an InteractiveMarker and set topic to /RvizInterface/update. + - add an InteractiveMarker and set topic to (server_topic parameter)/update. - add a Marker and set topic to vizualization_topic parameter. - add the Rviz interface panel. - add a PointCloud2 and set topic to /camera/depth_registered/points. diff --git a/asift_gen/ASIFT_matcher.cpp b/asift_gen/ASIFT_matcher.cpp index 3e3e2d2..78a8cf8 100644 --- a/asift_gen/ASIFT_matcher.cpp +++ b/asift_gen/ASIFT_matcher.cpp @@ -371,6 +371,8 @@ unsigned int ASIFT_matcher::match(const vector& image, unsigned int w, un //// Match ASIFT keypoints _total_num_matchings=0; + _num_matchings.clear(); + _matchings.clear(); for(unsigned int i = 0; i<_nb_refs;i++) { diff --git a/asift_matching/src/ASIFT_matcher.cpp b/asift_matching/src/ASIFT_matcher.cpp index 3e3e2d2..78a8cf8 100644 --- a/asift_matching/src/ASIFT_matcher.cpp +++ b/asift_matching/src/ASIFT_matcher.cpp @@ -371,6 +371,8 @@ unsigned int ASIFT_matcher::match(const vector& image, unsigned int w, un //// Match ASIFT keypoints _total_num_matchings=0; + _num_matchings.clear(); + _matchings.clear(); for(unsigned int i = 0; i<_nb_refs;i++) {