#[repr(C, packed(1))]pub struct ScSensorIntrinsicParameters {
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 ScSensorIntrinsicParameters
impl Clone for ScSensorIntrinsicParameters
Source§fn clone(&self) -> ScSensorIntrinsicParameters
fn clone(&self) -> ScSensorIntrinsicParameters
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 ScSensorIntrinsicParameters
Source§impl Debug for ScSensorIntrinsicParameters
impl Debug for ScSensorIntrinsicParameters
Source§impl Default for ScSensorIntrinsicParameters
impl Default for ScSensorIntrinsicParameters
Source§fn default() -> ScSensorIntrinsicParameters
fn default() -> ScSensorIntrinsicParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScSensorIntrinsicParameters
impl RefUnwindSafe for ScSensorIntrinsicParameters
impl Send for ScSensorIntrinsicParameters
impl Sync for ScSensorIntrinsicParameters
impl Unpin for ScSensorIntrinsicParameters
impl UnsafeUnpin for ScSensorIntrinsicParameters
impl UnwindSafe for ScSensorIntrinsicParameters
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