Function opencv::sfm::import_reconstruction
source · pub fn import_reconstruction(
file: &str,
rs: &mut impl ToOutputArray,
ts: &mut impl ToOutputArray,
ks: &mut impl ToOutputArray,
points3d: &mut impl ToOutputArray,
file_format: i32,
) -> Result<()>
Expand description
Import a reconstruction file.
§Parameters
- file: The path to the file.
- Rs: Output vector of 3x3 rotations of the camera
- Ts: 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.
The function supports reconstructions from Bundler.
§C++ default parameters
- file_format: SFM_IO_BUNDLER