diff --git a/modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp b/modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp index 05b252980..c72ef7bb5 100644 --- a/modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp +++ b/modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp @@ -166,7 +166,7 @@ private: bool matchPose(const Pose3D& sourcePose, const Pose3D& targetPose); - void clusterPoses(std::vector poseList, int numPoses, std::vector &finalPoses); + void clusterPoses(std::vector& poseList, int numPoses, std::vector &finalPoses); bool trained; }; diff --git a/modules/surface_matching/src/ppf_match_3d.cpp b/modules/surface_matching/src/ppf_match_3d.cpp index 5c6361c8a..c82749a5b 100644 --- a/modules/surface_matching/src/ppf_match_3d.cpp +++ b/modules/surface_matching/src/ppf_match_3d.cpp @@ -327,7 +327,7 @@ bool PPF3DDetector::matchPose(const Pose3D& sourcePose, const Pose3D& targetPose return (phirotation_threshold && dNorm < this->position_threshold); } -void PPF3DDetector::clusterPoses(std::vector poseList, int numPoses, std::vector &finalPoses) +void PPF3DDetector::clusterPoses(std::vector& poseList, int numPoses, std::vector &finalPoses) { std::vector poseClusters;