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
90522771
Commit
90522771
authored
9 years ago
by
edgarriba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing building issue
parent
a1460ef3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
reconstruct.hpp
modules/sfm/include/opencv2/sfm/reconstruct.hpp
+4
-4
simple_pipeline.hpp
modules/sfm/include/opencv2/sfm/simple_pipeline.hpp
+4
-7
No files found.
modules/sfm/include/opencv2/sfm/reconstruct.hpp
View file @
90522771
...
...
@@ -69,7 +69,7 @@ namespace sfm
@note
- Tracks must be as precise as possible. It does not handle outliers and is very sensible to them.
*/
/* CV_EXPORTS_W */
// error: ‘reconstruct’ is not a member of ‘cv::sfm’
CV_EXPORTS
void
reconstruct
(
InputArrayOfArrays
points2d
,
OutputArray
Ps
,
OutputArray
points3d
,
InputOutputArray
K
,
bool
is_projective
=
false
);
...
...
@@ -88,7 +88,7 @@ reconstruct(InputArrayOfArrays points2d, OutputArray Ps, OutputArray points3d, I
- Tracks must be as precise as possible. It does not handle outliers and is very sensible to them.
- To see a working example for camera motion reconstruction, check the following tutorial: @ref tutorial_sfm_trajectory_estimation.
*/
/* CV_EXPORTS_W */
// error: ‘reconstruct’ is not a member of ‘cv::sfm’
CV_EXPORTS
void
reconstruct
(
InputArrayOfArrays
points2d
,
OutputArray
Rs
,
OutputArray
Ts
,
InputOutputArray
K
,
OutputArray
points3d
,
bool
is_projective
=
false
);
...
...
@@ -106,7 +106,7 @@ reconstruct(InputArrayOfArrays points2d, OutputArray Rs, OutputArray Ts, InputOu
- The images must be ordered as they were an image sequence. Additionally, each frame should be as close as posible to the previous and posterior.
- For now DAISY features are used in order to compute the 2d points tracks and it only works for 3-4 images.
*/
/* CV_EXPORTS_W */
// error: ‘vector_string’ was not declared in this scope
CV_EXPORTS
void
reconstruct
(
const
std
::
vector
<
std
::
string
>
images
,
OutputArray
Ps
,
OutputArray
points3d
,
InputOutputArray
K
,
bool
is_projective
=
false
);
...
...
@@ -126,7 +126,7 @@ reconstruct(const std::vector<std::string> images, OutputArray Ps, OutputArray p
- For now DAISY features are used in order to compute the 2d points tracks and it only works for 3-4 images.
- To see a working example for scene reconstruction, check the following tutorial: @ref tutorial_sfm_scene_reconstruction.
*/
/* CV_EXPORTS_W */
// error: ‘vector_string’ was not declared in this scope
CV_EXPORTS
void
reconstruct
(
const
std
::
vector
<
std
::
string
>
images
,
OutputArray
Rs
,
OutputArray
Ts
,
InputOutputArray
K
,
OutputArray
points3d
,
bool
is_projective
=
false
);
...
...
This diff is collapsed.
Click to expand it.
modules/sfm/include/opencv2/sfm/simple_pipeline.hpp
View file @
90522771
...
...
@@ -166,8 +166,8 @@ public:
virtual
void
run
(
InputArrayOfArrays
points2d
,
InputOutputArray
K
,
OutputArray
Rs
,
OutputArray
Ts
,
OutputArray
points3d
)
=
0
;
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
)
=
0
;
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
,
InputOutputArray
K
,
OutputArray
Rs
,
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
)
=
0
;
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
,
InputOutputArray
K
,
OutputArray
Rs
,
OutputArray
Ts
,
OutputArray
points3d
)
=
0
;
CV_WRAP
virtual
double
getError
()
const
=
0
;
...
...
@@ -219,8 +219,7 @@ public:
- The images must be ordered as they were an image sequence. Additionally, each frame should be as close as posible to the previous and posterior.
- For now DAISY features are used in order to compute the 2d points tracks and it only works for 3-4 images.
*/
/* CV_WRAP */
// error: ‘vector_string’ was not declared in this scope
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
)
=
0
;
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
)
=
0
;
/** @brief Calls the pipeline in order to perform Eclidean reconstruction.
@param images a vector of string with the images paths.
...
...
@@ -233,8 +232,7 @@ public:
- The images must be ordered as they were an image sequence. Additionally, each frame should be as close as posible to the previous and posterior.
- For now DAISY features are used in order to compute the 2d points tracks and it only works for 3-4 images.
*/
/* CV_WRAP */
// error: ‘vector_string’ was not declared in this scope
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
,
InputOutputArray
K
,
OutputArray
Rs
,
virtual
void
run
(
const
std
::
vector
<
std
::
string
>
&
images
,
InputOutputArray
K
,
OutputArray
Rs
,
OutputArray
Ts
,
OutputArray
points3d
)
=
0
;
/** @brief Returns the computed reprojection error.
...
...
@@ -277,7 +275,6 @@ public:
setCameraIntrinsicOptions
(
const
libmv_CameraIntrinsicsOptions
&
libmv_camera_intrinsics_options
)
=
0
;
/** @brief Creates an instance of the SFMLibmvEuclideanReconstruction class. Initializes Libmv. */
/* CV_WRAP */
// error: ‘SFMLibmvEuclideanReruction’ was not declared in this scope
static
Ptr
<
SFMLibmvEuclideanReconstruction
>
create
(
const
libmv_CameraIntrinsicsOptions
&
camera_instrinsic_options
=
libmv_CameraIntrinsicsOptions
(),
const
libmv_ReconstructionOptions
&
reconstruction_options
=
libmv_ReconstructionOptions
());
...
...
This diff is collapsed.
Click to expand it.
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