mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-18 17:24:28 +08:00
Merge pull request #1055 from Sahloul:bugs/surface_matching/parallel_for
This commit is contained in:
@@ -645,7 +645,12 @@ void PPF3DDetector::match(const Mat& pc, std::vector<Pose3DPtr>& results, const
|
||||
|
||||
Pose3DPtr pose(new Pose3D(alpha, refIndMax, maxVotes));
|
||||
pose->updatePose(rawPose);
|
||||
poseList.push_back(pose);
|
||||
#if defined (_OPENMP)
|
||||
#pragma omp critical
|
||||
#endif
|
||||
{
|
||||
poseList.push_back(pose);
|
||||
}
|
||||
|
||||
#if defined (_OPENMP)
|
||||
free(accumulator);
|
||||
|
Reference in New Issue
Block a user