Skip to content

Commit

Permalink
Removed second 'kdtree' integration in fpcs and kfpcs tests
Browse files Browse the repository at this point in the history
+ minor correction of commented code part
  • Loading branch information
theilerp committed Mar 18, 2015
1 parent d2029b9 commit 86fcee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion registration/include/pcl/registration/impl/ia_kfpcs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pcl::registration::KFPCSInitialAlignment <PointSource, PointTarget, NormalT, Sca
}

score_a /= (max_inlier_dist_sqr_ * nr_points); // MSAC
//score_a = 1.f - ((1.f - score_a) / approx_overlap_); // make score relative to estimated overlap
//score_a = 1.f - (1.f - score_a) / (1.f - approx_overlap_); // make score relative to estimated overlap

// translation score (solutions with small translation are down-voted)
float scale = 1.f;
Expand Down
4 changes: 2 additions & 2 deletions test/registration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ PCL_ADD_TEST(correspondence_rejectors test_correspondence_rejectors

PCL_ADD_TEST(fpcs_ia test_fpcs_ia
FILES test_fpcs_ia.cpp test_fpcs_ia_data.h
LINK_WITH pcl_gtest pcl_io pcl_registration pcl_features pcl_search pcl_kdtree pcl_kdtree
LINK_WITH pcl_gtest pcl_io pcl_registration pcl_features pcl_search pcl_kdtree
ARGUMENTS "${PCL_SOURCE_DIR}/test/bun0.pcd" "${PCL_SOURCE_DIR}/test/bun4.pcd")

PCL_ADD_TEST(kfpcs_ia test_kfpcs_ia
FILES test_kfpcs_ia.cpp test_kfpcs_ia_data.h
LINK_WITH pcl_gtest pcl_io pcl_registration pcl_features pcl_search pcl_kdtree pcl_kdtree
LINK_WITH pcl_gtest pcl_io pcl_registration pcl_features pcl_search pcl_kdtree
ARGUMENTS "${PCL_SOURCE_DIR}/test/office1_keypoints.pcd" "${PCL_SOURCE_DIR}/test/office2_keypoints.pcd")

0 comments on commit 86fcee5

Please sign in to comment.