Trait opencv::hub_prelude::CameraTraitConst  
source · pub trait CameraTraitConst {
    fn as_raw_Camera(&self) -> *const c_void;
    fn get_clip(&self) -> Result<Vec2d> { ... }
    fn get_window_size(&self) -> Result<Size> { ... }
    fn get_fov(&self) -> Result<Vec2d> { ... }
    fn get_principal_point(&self) -> Result<Vec2d> { ... }
    fn get_focal_length(&self) -> Result<Vec2d> { ... }
    fn compute_projection_matrix(&self, proj: &mut Matx44d) -> Result<()> { ... }
}Expand description
Constant methods for crate::viz::Camera
Required Methods§
fn as_raw_Camera(&self) -> *const c_void
Provided Methods§
fn get_clip(&self) -> Result<Vec2d>
fn get_window_size(&self) -> Result<Size>
fn get_fov(&self) -> Result<Vec2d>
fn get_principal_point(&self) -> Result<Vec2d>
fn get_focal_length(&self) -> Result<Vec2d>
sourcefn compute_projection_matrix(&self, proj: &mut Matx44d) -> Result<()>
 
fn compute_projection_matrix(&self, proj: &mut Matx44d) -> Result<()>
Computes projection matrix using intrinsic parameters of the camera.
Parameters
- proj: Output projection matrix with the following form