Merge pull request #1058 from Sahloul:fixes/surface_matching/ICP

pull/1062/head
Alexander Alekhin 8 years ago
commit 1cb3a11f10
  1. 2
      modules/surface_matching/src/icp.cpp

@ -452,7 +452,7 @@ int ICP::registerModelToScene(const Mat& srcPC, const Mat& dstPC, double& residu
hashtableDestroy(duplicateTable);
if (selInd)
if (selInd >= 6)
{
Mat Src_Match = Mat(selInd, srcPCT.cols, CV_64F);

Loading…
Cancel
Save