[−][src]Function opencv::sfm::import_reconstruction
pub fn import_reconstruction(
file: &str,
rs: &mut dyn ToOutputArray,
ts: &mut dyn ToOutputArray,
ks: &mut dyn ToOutputArray,
points3d: &mut dyn ToOutputArray,
file_format: i32
) -> Result<()>
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