Input/Output#
Detailed Description#
Enumerations#
enum cv::sfm {
cv::SFM_IO_BUNDLER = 0,
cv::SFM_IO_VISUALSFM = 1,
cv::SFM_IO_OPENSFM = 2,
cv::SFM_IO_OPENMVG = 3,
cv::SFM_IO_THEIASFM = 4
}Different supported file formats. View details
Enumeration Type Documentation#
enum#
#include <opencv2/sfm/io.hpp>
Different supported file formats.
Enumerator:
|
|
|
|
|
Function Documentation#
importReconstruction()#
void cv::sfm::importReconstruction(
const cv::String & file,
OutputArrayOfArrays Rs,
OutputArrayOfArrays Ts,
OutputArrayOfArrays Ks,
OutputArrayOfArrays points3d,
int file_format = SFM_IO_BUNDLER )
#include <opencv2/sfm/io.hpp>
Import a reconstruction file.
The function supports reconstructions from Bundler.
Parameters
file— The path to the file.Rs— Output vector of 3x3 rotations of the cameraTs— Output vector of 3x1 translations of the camera.Ks— Output vector of 3x3 instrinsics of the camera.points3d— Output array with 3d points. Is 3 x N.file_format— The format of the file to import.