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
e70a4c42
Commit
e70a4c42
authored
Nov 21, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2355 from czgdp1807:pr-2341-follow-up
parents
b3ad2c32
854d33bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
odometry.cpp
modules/rgbd/src/odometry.cpp
+0
-22
plane.cpp
modules/rgbd/src/plane.cpp
+22
-0
No files found.
modules/rgbd/src/odometry.cpp
View file @
e70a4c42
...
...
@@ -1009,28 +1009,6 @@ Ptr<DepthCleaner> DepthCleaner::create(int depth_in, int window_size_in, int met
return
makePtr
<
DepthCleaner
>
(
depth_in
,
window_size_in
,
method_in
);
}
RgbdPlane
::
RgbdPlane
(
int
method
,
int
block_size
,
int
min_size
,
double
threshold
,
double
sensor_error_a
,
double
sensor_error_b
,
double
sensor_error_c
)
:
method_
(
method
),
block_size_
(
block_size
),
min_size_
(
min_size
),
threshold_
(
threshold
),
sensor_error_a_
(
sensor_error_a
),
sensor_error_b_
(
sensor_error_b
),
sensor_error_c_
(
sensor_error_c
)
{}
Ptr
<
RgbdPlane
>
RgbdPlane
::
create
(
int
method
,
int
block_size
,
int
min_size
,
double
threshold
,
double
sensor_error_a
,
double
sensor_error_b
,
double
sensor_error_c
)
{
return
makePtr
<
RgbdPlane
>
(
method
,
block_size
,
min_size
,
threshold
,
sensor_error_a
,
sensor_error_b
,
sensor_error_c
);
}
RgbdPlane
::~
RgbdPlane
()
{}
RgbdFrame
::
RgbdFrame
()
:
ID
(
-
1
)
{}
...
...
modules/rgbd/src/plane.cpp
View file @
e70a4c42
...
...
@@ -530,6 +530,28 @@ private:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
RgbdPlane
::
RgbdPlane
(
int
method
,
int
block_size
,
int
min_size
,
double
threshold
,
double
sensor_error_a
,
double
sensor_error_b
,
double
sensor_error_c
)
:
method_
(
method
),
block_size_
(
block_size
),
min_size_
(
min_size
),
threshold_
(
threshold
),
sensor_error_a_
(
sensor_error_a
),
sensor_error_b_
(
sensor_error_b
),
sensor_error_c_
(
sensor_error_c
)
{}
Ptr
<
RgbdPlane
>
RgbdPlane
::
create
(
int
method
,
int
block_size
,
int
min_size
,
double
threshold
,
double
sensor_error_a
,
double
sensor_error_b
,
double
sensor_error_c
)
{
return
makePtr
<
RgbdPlane
>
(
method
,
block_size
,
min_size
,
threshold
,
sensor_error_a
,
sensor_error_b
,
sensor_error_c
);
}
RgbdPlane
::~
RgbdPlane
()
{}
void
RgbdPlane
::
operator
()(
InputArray
points3d_in
,
OutputArray
mask_out
,
OutputArray
plane_coefficients
)
{
...
...
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