[−][src]Trait opencv::hub_prelude::CameraTrait
This class wraps intrinsic parameters of a camera.
It provides several constructors that can extract the intrinsic parameters from field of view, intrinsic matrix and projection matrix. :
Required methods
pub fn as_raw_Camera(&self) -> *const c_void
[src]
pub fn as_raw_mut_Camera(&mut self) -> *mut c_void
[src]
Provided methods
pub fn get_clip(&self) -> Result<Vec2d>
[src]
pub fn set_clip(&mut self, clip: Vec2d) -> Result<()>
[src]
pub fn get_window_size(&self) -> Result<Size>
[src]
pub fn set_window_size(&mut self, window_size: Size) -> Result<()>
[src]
pub fn get_fov(&self) -> Result<Vec2d>
[src]
pub fn set_fov(&mut self, fov: Vec2d) -> Result<()>
[src]
pub fn get_principal_point(&self) -> Result<Vec2d>
[src]
pub fn get_focal_length(&self) -> Result<Vec2d>
[src]
pub fn compute_projection_matrix(&self, proj: &mut Matx44d) -> Result<()>
[src]
Computes projection matrix using intrinsic parameters of the camera.
Parameters
- proj: Output projection matrix with the following form