Struct opencv::sfm::libmv_CameraIntrinsicsOptions [−][src]
#[repr(C)]pub struct libmv_CameraIntrinsicsOptions {Show 14 fields
pub distortion_model: i32,
pub image_width: i32,
pub image_height: i32,
pub focal_length_x: f64,
pub focal_length_y: f64,
pub principal_point_x: f64,
pub principal_point_y: f64,
pub polynomial_k1: f64,
pub polynomial_k2: f64,
pub polynomial_k3: f64,
pub polynomial_p1: f64,
pub polynomial_p2: f64,
pub division_k1: f64,
pub division_k2: f64,
}
Expand description
Data structure describing the camera model and its parameters.
Parameters
- _distortion_model: Type of camera model.
- _focal_length_x: focal length of the camera (in pixels).
- _focal_length_y: focal length of the camera (in pixels).
- _principal_point_x: principal point of the camera in the x direction (in pixels).
- _principal_point_y: principal point of the camera in the y direction (in pixels).
- _polynomial_k1: radial distortion parameter.
- _polynomial_k2: radial distortion parameter.
- _polynomial_k3: radial distortion parameter.
- _polynomial_p1: radial distortion parameter.
- _polynomial_p2: radial distortion parameter.
Is assumed that modern cameras have their principal point in the image center.
In case that the camera model was SFM_DISTORTION_MODEL_DIVISION, it’s only needed to provide _polynomial_k1 and _polynomial_k2 which will be assigned as division distortion parameters.
Fields
distortion_model: i32
image_width: i32
image_height: i32
focal_length_x: f64
focal_length_y: f64
principal_point_x: f64
principal_point_y: f64
polynomial_k1: f64
polynomial_k2: f64
polynomial_k3: f64
polynomial_p1: f64
polynomial_p2: f64
division_k1: f64
division_k2: f64
Implementations
C++ default parameters
- _distortion_model: 0
- _focal_length_x: 0
- _focal_length_y: 0
- _principal_point_x: 0
- _principal_point_y: 0
- _polynomial_k1: 0
- _polynomial_k2: 0
- _polynomial_k3: 0
- _polynomial_p1: 0
- _polynomial_p2: 0
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for libmv_CameraIntrinsicsOptions
impl Sync for libmv_CameraIntrinsicsOptions
impl Unpin for libmv_CameraIntrinsicsOptions
impl UnwindSafe for libmv_CameraIntrinsicsOptions
Blanket Implementations
Mutably borrows from an owned value. Read more