Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
004b583c
Commit
004b583c
authored
Mar 09, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1054 from Sahloul:bugs/surface_matching/cluster_poses_allocation
parents
2ca605a1
6b6d5a48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ppf_match_3d.hpp
...atching/include/opencv2/surface_matching/ppf_match_3d.hpp
+1
-1
ppf_match_3d.cpp
modules/surface_matching/src/ppf_match_3d.cpp
+1
-1
No files found.
modules/surface_matching/include/opencv2/surface_matching/ppf_match_3d.hpp
View file @
004b583c
...
...
@@ -166,7 +166,7 @@ private:
bool
matchPose
(
const
Pose3D
&
sourcePose
,
const
Pose3D
&
targetPose
);
void
clusterPoses
(
std
::
vector
<
Pose3DPtr
>
poseList
,
int
numPoses
,
std
::
vector
<
Pose3DPtr
>
&
finalPoses
);
void
clusterPoses
(
std
::
vector
<
Pose3DPtr
>
&
poseList
,
int
numPoses
,
std
::
vector
<
Pose3DPtr
>
&
finalPoses
);
bool
trained
;
};
...
...
modules/surface_matching/src/ppf_match_3d.cpp
View file @
004b583c
...
...
@@ -327,7 +327,7 @@ bool PPF3DDetector::matchPose(const Pose3D& sourcePose, const Pose3D& targetPose
return
(
phi
<
this
->
rotation_threshold
&&
dNorm
<
this
->
position_threshold
);
}
void
PPF3DDetector
::
clusterPoses
(
std
::
vector
<
Pose3DPtr
>
poseList
,
int
numPoses
,
std
::
vector
<
Pose3DPtr
>
&
finalPoses
)
void
PPF3DDetector
::
clusterPoses
(
std
::
vector
<
Pose3DPtr
>
&
poseList
,
int
numPoses
,
std
::
vector
<
Pose3DPtr
>
&
finalPoses
)
{
std
::
vector
<
PoseCluster3DPtr
>
poseClusters
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment