[][src]Trait cv_core::Bearing

pub trait Bearing {
    fn bearing_unnormalized(&self) -> Vector3<f64>;

    fn bearing(&self) -> Unit<Vector3<f64>> { ... }
}

Describes the direction that the projection onto the camera's optical center came from. It is implemented on projection items from different camera models.

Required methods

fn bearing_unnormalized(&self) -> Vector3<f64>

Returns the unnormalized bearing which has direction point towards the direction that the signal entered the camera's center. The magnitude of this vector is unknown. Use this if you are sure that you do not need a normalized bearing. This may be faster.

Loading content...

Provided methods

fn bearing(&self) -> Unit<Vector3<f64>>

Returns a unit vector of the direction that the projection created by the feature projects out of the optical center of the camera. This is defined as the the position delta of the feature from the optical center of the camera.

Loading content...

Implementors

Loading content...