pub enum DistortionModelType {
Polynomial {
order: u32,
},
Radial,
}Expand description
Distortion model selector for calibrate_camera.
Variants§
Polynomial
SIP-like polynomial of the given order (2..=6). Captures arbitrary 2D distortion including tangential/decentering — preferred for off-axis CCDs and astronomy WCS.
Radial
Brown-Conrady radial (k1, k2, k3). Three parameters total —
well-conditioned with few matches; the standard model in computer-vision
camera calibration. Assumes distortion is symmetric about the optical
center.
Trait Implementations§
Source§impl Clone for DistortionModelType
impl Clone for DistortionModelType
Source§fn clone(&self) -> DistortionModelType
fn clone(&self) -> DistortionModelType
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 moreSource§impl Debug for DistortionModelType
impl Debug for DistortionModelType
Source§impl Default for DistortionModelType
impl Default for DistortionModelType
Source§impl PartialEq for DistortionModelType
impl PartialEq for DistortionModelType
Source§fn eq(&self, other: &DistortionModelType) -> bool
fn eq(&self, other: &DistortionModelType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DistortionModelType
impl Eq for DistortionModelType
impl StructuralPartialEq for DistortionModelType
Auto Trait Implementations§
impl Freeze for DistortionModelType
impl RefUnwindSafe for DistortionModelType
impl Send for DistortionModelType
impl Sync for DistortionModelType
impl Unpin for DistortionModelType
impl UnsafeUnpin for DistortionModelType
impl UnwindSafe for DistortionModelType
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