pub struct CameraIntrinsics {
pub fx: f32,
pub fy: f32,
pub cx: f32,
pub cy: f32,
pub k1: f32,
pub k2: f32,
pub p1: f32,
pub p2: f32,
}Expand description
Camera intrinsic parameters (fx, fy, cx, cy, distortion coefficients). Camera intrinsic parameters including radial and tangential distortion coefficients.
Fields§
§fx: f32Focal length in x (pixels).
fy: f32Focal length in y (pixels).
cx: f32Principal point x (pixels).
cy: f32Principal point y (pixels).
k1: f32First radial distortion coefficient.
k2: f32Second radial distortion coefficient.
p1: f32First tangential distortion coefficient.
p2: f32Second tangential distortion coefficient.
Implementations§
Trait Implementations§
Source§impl Clone for CameraIntrinsics
impl Clone for CameraIntrinsics
Source§fn clone(&self) -> CameraIntrinsics
fn clone(&self) -> CameraIntrinsics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CameraIntrinsics
impl Debug for CameraIntrinsics
Source§impl PartialEq for CameraIntrinsics
impl PartialEq for CameraIntrinsics
impl StructuralPartialEq for CameraIntrinsics
Auto Trait Implementations§
impl Freeze for CameraIntrinsics
impl RefUnwindSafe for CameraIntrinsics
impl Send for CameraIntrinsics
impl Sync for CameraIntrinsics
impl Unpin for CameraIntrinsics
impl UnsafeUnpin for CameraIntrinsics
impl UnwindSafe for CameraIntrinsics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more