Struct realsense_rust::base::Rs2Distortion [−][src]
pub struct Rs2Distortion { pub model: Rs2DistortionModel, pub coeffs: [f32; 5], }
Expand description
Type representing the intrinsic scale, bias, and variances for a given motion device.
The data in coeffs
means different things for different models.
- Brown-Conrady: [k1, k2, p1, p2, k3].
- F-Theta Fisheye: [k1, k2, k3, k4, 0].
- Kannala-Brandt: [k1, k2, k3, k4, 0].
The Intel RealSense documentation claims that “Other models are subject to their own interpretations”. This is admittedly not too helpful, but it’s worth noting in case your model isn’t covered here.
Fields
model: Rs2DistortionModel
Distortion model of the image.
coeffs: [f32; 5]
Distortion coefficients.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rs2Distortion
impl Sync for Rs2Distortion
impl Unpin for Rs2Distortion
impl UnwindSafe for Rs2Distortion