#[repr(C, packed(1))]pub struct PsCameraParameters {
pub fx: f64,
pub fy: f64,
pub cx: f64,
pub cy: f64,
pub k1: f64,
pub k2: f64,
pub p1: f64,
pub p2: f64,
pub k3: f64,
pub k4: f64,
pub k5: f64,
pub k6: f64,
}Expand description
@brief Camera intrinsic parameters and distortion coefficients.
Fields§
§fx: f64!< Focal length x (pixel)
fy: f64!< Focal length y (pixel)
cx: f64!< Principal point x (pixel)
cy: f64!< Principal point y (pixel)
k1: f64!< Radial distortion coefficient, 1st-order
k2: f64!< Radial distortion coefficient, 2nd-order
p1: f64!< Tangential distortion coefficient
p2: f64!< Tangential distortion coefficient
k3: f64!< Radial distortion coefficient, 3rd-order
k4: f64!< Radial distortion coefficient, 4st-order
k5: f64!< Radial distortion coefficient, 5nd-order
k6: f64!< Radial distortion coefficient, 6rd-order
Trait Implementations§
Source§impl Clone for PsCameraParameters
impl Clone for PsCameraParameters
Source§fn clone(&self) -> PsCameraParameters
fn clone(&self) -> PsCameraParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PsCameraParameters
Source§impl Debug for PsCameraParameters
impl Debug for PsCameraParameters
Source§impl Default for PsCameraParameters
impl Default for PsCameraParameters
Source§fn default() -> PsCameraParameters
fn default() -> PsCameraParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PsCameraParameters
impl RefUnwindSafe for PsCameraParameters
impl Send for PsCameraParameters
impl Sync for PsCameraParameters
impl Unpin for PsCameraParameters
impl UnsafeUnpin for PsCameraParameters
impl UnwindSafe for PsCameraParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more