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
d71d1722
Commit
d71d1722
authored
Feb 17, 2014
by
Vincent Rabaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation problems seen in #12
parent
a218468f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
odometry_evaluation.cpp
modules/rgbd/samples/odometry_evaluation.cpp
+8
-7
No files found.
modules/rgbd/samples/odometry_evaluation.cpp
View file @
d71d1722
...
...
@@ -33,11 +33,12 @@
*
*/
#include <opencv2/rgbd
/rgbd
.hpp>
#include <opencv2/rgbd.hpp>
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/contrib/contrib.hpp"
#include "opencv2/calib3d/calib3d.hpp"
#include <opencv2/highgui.hpp>
#include <opencv2/contrib.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/imgproc.hpp>
#include <dirent.h>
#include <iostream>
...
...
@@ -144,8 +145,8 @@ int main(int argc, char** argv)
cameraMatrix
.
at
<
float
>
(
1
,
2
)
=
cy
;
}
Ptr
<
OdometryFrame
>
frame_prev
=
new
OdometryFrame
(
),
frame_curr
=
new
OdometryFrame
(
);
Ptr
<
OdometryFrame
>
frame_prev
=
Ptr
<
OdometryFrame
>
(
new
OdometryFrame
()
),
frame_curr
=
Ptr
<
OdometryFrame
>
(
new
OdometryFrame
()
);
Ptr
<
Odometry
>
odometry
=
Algorithm
::
create
<
Odometry
>
(
"RGBD."
+
string
(
argv
[
3
])
+
"Odometry"
);
if
(
odometry
.
empty
())
{
...
...
@@ -206,7 +207,7 @@ int main(int argc, char** argv)
{
Mat
gray
;
cvtColor
(
image
,
gray
,
C
V
_BGR2GRAY
);
cvtColor
(
image
,
gray
,
C
OLOR
_BGR2GRAY
);
frame_curr
->
image
=
gray
;
frame_curr
->
depth
=
depth
;
...
...
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