Merge pull request #1096 from sovrasov:ppf3d_init_fix

pull/3/merge
Vadim Pisarevsky 8 years ago
commit a61a0cf40f
  1. 6
      modules/surface_matching/src/ppf_match_3d.cpp

@ -129,6 +129,9 @@ PPF3DDetector::PPF3DDetector()
angle_step = angle_step_radians;
trained = false;
hash_table = NULL;
hash_nodes = NULL;
setSearchParams();
}
@ -142,6 +145,9 @@ PPF3DDetector::PPF3DDetector(const double RelativeSamplingStep, const double Rel
angle_step = angle_step_radians;
trained = false;
hash_table = NULL;
hash_nodes = NULL;
setSearchParams();
}

Loading…
Cancel
Save