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));
|
Pose3DPtr pose(new Pose3D(alpha, refIndMax, maxVotes));
|
||||||
pose->updatePose(rawPose);
|
pose->updatePose(rawPose);
|
||||||
poseList.push_back(pose);
|
#if defined (_OPENMP)
|
||||||
|
#pragma omp critical
|
||||||
|
#endif
|
||||||
|
{
|
||||||
|
poseList.push_back(pose);
|
||||||
|
}
|
||||||
|
|
||||||
#if defined (_OPENMP)
|
#if defined (_OPENMP)
|
||||||
free(accumulator);
|
free(accumulator);
|
||||||
|
Reference in New Issue
Block a user