Commit 90522771 authored by edgarriba's avatar edgarriba

fixing building issue

parent a1460ef3
...@@ -69,7 +69,7 @@ namespace sfm ...@@ -69,7 +69,7 @@ namespace sfm
@note @note
- Tracks must be as precise as possible. It does not handle outliers and is very sensible to them. - 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 void
reconstruct(InputArrayOfArrays points2d, OutputArray Ps, OutputArray points3d, InputOutputArray K, reconstruct(InputArrayOfArrays points2d, OutputArray Ps, OutputArray points3d, InputOutputArray K,
bool is_projective = false); bool is_projective = false);
...@@ -88,7 +88,7 @@ reconstruct(InputArrayOfArrays points2d, OutputArray Ps, OutputArray points3d, I ...@@ -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. - 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. - 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 void
reconstruct(InputArrayOfArrays points2d, OutputArray Rs, OutputArray Ts, InputOutputArray K, reconstruct(InputArrayOfArrays points2d, OutputArray Rs, OutputArray Ts, InputOutputArray K,
OutputArray points3d, bool is_projective = false); OutputArray points3d, bool is_projective = false);
...@@ -106,7 +106,7 @@ reconstruct(InputArrayOfArrays points2d, OutputArray Rs, OutputArray Ts, InputOu ...@@ -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. - 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. - 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 void
reconstruct(const std::vector<std::string> images, OutputArray Ps, OutputArray points3d, reconstruct(const std::vector<std::string> images, OutputArray Ps, OutputArray points3d,
InputOutputArray K, bool is_projective = false); InputOutputArray K, bool is_projective = false);
...@@ -126,7 +126,7 @@ reconstruct(const std::vector<std::string> images, OutputArray Ps, OutputArray p ...@@ -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. - 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. - 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 void
reconstruct(const std::vector<std::string> images, OutputArray Rs, OutputArray Ts, reconstruct(const std::vector<std::string> images, OutputArray Rs, OutputArray Ts,
InputOutputArray K, OutputArray points3d, bool is_projective = false); InputOutputArray K, OutputArray points3d, bool is_projective = false);
......
...@@ -166,8 +166,8 @@ public: ...@@ -166,8 +166,8 @@ public:
virtual void run(InputArrayOfArrays points2d, InputOutputArray K, OutputArray Rs, virtual void run(InputArrayOfArrays points2d, InputOutputArray K, OutputArray Rs,
OutputArray Ts, OutputArray points3d) = 0; OutputArray Ts, OutputArray points3d) = 0;
virtual void run(const std::vector <std::string> &images) = 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, InputOutputArray K, OutputArray Rs,
OutputArray Ts, OutputArray points3d) = 0; OutputArray Ts, OutputArray points3d) = 0;
CV_WRAP virtual double getError() const = 0; CV_WRAP virtual double getError() const = 0;
...@@ -219,8 +219,7 @@ public: ...@@ -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. - 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. - 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. /** @brief Calls the pipeline in order to perform Eclidean reconstruction.
@param images a vector of string with the images paths. @param images a vector of string with the images paths.
...@@ -233,8 +232,7 @@ public: ...@@ -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. - 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. - 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; OutputArray Ts, OutputArray points3d) = 0;
/** @brief Returns the computed reprojection error. /** @brief Returns the computed reprojection error.
...@@ -277,7 +275,6 @@ public: ...@@ -277,7 +275,6 @@ public:
setCameraIntrinsicOptions(const libmv_CameraIntrinsicsOptions &libmv_camera_intrinsics_options) = 0; setCameraIntrinsicOptions(const libmv_CameraIntrinsicsOptions &libmv_camera_intrinsics_options) = 0;
/** @brief Creates an instance of the SFMLibmvEuclideanReconstruction class. Initializes Libmv. */ /** @brief Creates an instance of the SFMLibmvEuclideanReconstruction class. Initializes Libmv. */
/* CV_WRAP */ // error: ‘SFMLibmvEuclideanReruction’ was not declared in this scope
static Ptr<SFMLibmvEuclideanReconstruction> static Ptr<SFMLibmvEuclideanReconstruction>
create(const libmv_CameraIntrinsicsOptions &camera_instrinsic_options=libmv_CameraIntrinsicsOptions(), create(const libmv_CameraIntrinsicsOptions &camera_instrinsic_options=libmv_CameraIntrinsicsOptions(),
const libmv_ReconstructionOptions &reconstruction_options=libmv_ReconstructionOptions()); const libmv_ReconstructionOptions &reconstruction_options=libmv_ReconstructionOptions());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment