[][src]Struct cv_core::WorldPose

pub struct WorldPose(pub IsometryMatrix3<f64>);

This contains a world pose, which is a pose of the world relative to the camera. This maps WorldPoint into CameraPoint, changing an absolute position into a vector relative to the camera.

Methods

impl WorldPose[src]

pub fn projection_error(
    &self,
    correspondence: KeyPointWorldMatch
) -> Vector2<f64>
[src]

Computes difference between the image keypoint and the projected keypoint.

pub fn project(&self, point: WorldPoint) -> NormalizedKeyPoint[src]

Projects the WorldPoint onto the camera as a NormalizedKeyPoint.

pub fn transform(&self, WorldPoint: WorldPoint) -> CameraPoint[src]

Projects the WorldPoint into camera space as a CameraPoint.

Trait Implementations

impl AsMut<Isometry<f64, U3, Rotation<f64, U3>>> for WorldPose[src]

impl AsRef<Isometry<f64, U3, Rotation<f64, U3>>> for WorldPose[src]

impl Clone for WorldPose[src]

impl Copy for WorldPose[src]

impl Debug for WorldPose[src]

impl Deref for WorldPose[src]

type Target = IsometryMatrix3<f64>

The resulting type after dereferencing.

impl DerefMut for WorldPose[src]

impl From<CameraPose> for WorldPose[src]

impl From<Isometry<f64, U3, Rotation<f64, U3>>> for WorldPose[src]

impl From<WorldPose> for IsometryMatrix3<f64>[src]

impl From<WorldPose> for CameraPose[src]

impl Model<KeyPointWorldMatch> for WorldPose[src]

impl PartialEq<WorldPose> for WorldPose[src]

impl StructuralPartialEq for WorldPose[src]

Auto Trait Implementations

impl Send for WorldPose

impl Sync for WorldPose

impl Unpin for WorldPose

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,