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
0c3b9349
Commit
0c3b9349
authored
Oct 15, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1842 from soyersoyer:cpp11
parents
7c619cba
8a4c85b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
24 deletions
+2
-24
kinfu.cpp
modules/rgbd/src/kinfu.cpp
+2
-24
No files found.
modules/rgbd/src/kinfu.cpp
View file @
0c3b9349
...
...
@@ -37,18 +37,8 @@ Ptr<Params> Params::defaultParams()
p
.
icpAngleThresh
=
(
float
)(
30.
*
CV_PI
/
180.
);
// radians
p
.
icpDistThresh
=
0.1
f
;
// meters
// first non-zero numbers are accepted
const
int
iters
[]
=
{
10
,
5
,
4
,
0
};
for
(
size_t
i
=
0
;
i
<
sizeof
(
iters
)
/
sizeof
(
int
);
i
++
)
{
if
(
iters
[
i
])
{
p
.
icpIterations
.
push_back
(
iters
[
i
]);
}
else
break
;
}
p
.
icpIterations
=
{
10
,
5
,
4
};
p
.
pyramidLevels
=
(
int
)
p
.
icpIterations
.
size
();
p
.
tsdf_min_camera_movement
=
0.
f
;
//meters, disabled
...
...
@@ -80,19 +70,7 @@ Ptr<Params> Params::coarseParams()
{
Ptr
<
Params
>
p
=
defaultParams
();
// first non-zero numbers are accepted
const
int
iters
[]
=
{
5
,
3
,
2
};
p
->
icpIterations
.
clear
();
for
(
size_t
i
=
0
;
i
<
sizeof
(
iters
)
/
sizeof
(
int
);
i
++
)
{
if
(
iters
[
i
])
{
p
->
icpIterations
.
push_back
(
iters
[
i
]);
}
else
break
;
}
p
->
icpIterations
=
{
5
,
3
,
2
};
p
->
pyramidLevels
=
(
int
)
p
->
icpIterations
.
size
();
float
volSize
=
3.
f
;
...
...
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