[][src]Struct cv::UnscaledRelativeCameraPose

pub struct UnscaledRelativeCameraPose(pub RelativeCameraPose);

This stores a RelativeCameraPose that has not had its translation scaled.

The translation for an unscaled relative camera pose should allow the triangulation of correspondences to lie in front of both cameras. Aside from that case, the relative pose contained inside should only be used to initialize a reconstruction with unknown scale.

Methods from Deref<Target = RelativeCameraPose>

pub fn essential_matrix(&self) -> EssentialMatrix[src]

Generates an essential matrix corresponding to this relative camera pose.

If a point a is transformed using [RelativeCameraPose::transform] into a point b, then the essential matrix returned by this method will give a residual of approximately 0.0 when you call essential.residual(&FeatureMatch(a, b)).

See the documentation of EssentialMatrix for more information.

pub fn inverse(&self) -> RelativeCameraPose[src]

Inverses the pose such that it now swaps which camera it is transfering from and to.

Trait Implementations

impl AsMut<RelativeCameraPose> for UnscaledRelativeCameraPose[src]

impl AsRef<RelativeCameraPose> for UnscaledRelativeCameraPose[src]

impl Clone for UnscaledRelativeCameraPose[src]

impl Copy for UnscaledRelativeCameraPose[src]

impl Debug for UnscaledRelativeCameraPose[src]

impl Deref for UnscaledRelativeCameraPose[src]

type Target = RelativeCameraPose

The resulting type after dereferencing.

impl DerefMut for UnscaledRelativeCameraPose[src]

impl From<RelativeCameraPose> for UnscaledRelativeCameraPose[src]

impl From<UnscaledRelativeCameraPose> for RelativeCameraPose[src]

impl PartialEq<UnscaledRelativeCameraPose> for UnscaledRelativeCameraPose[src]

impl StructuralPartialEq for UnscaledRelativeCameraPose[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,