[][src]Struct opencv::stitching::Detail_SphericalWarper

pub struct Detail_SphericalWarper { /* fields omitted */ }

Warper that maps an image onto the unit sphere located at the origin.

Projects image onto unit sphere with origin at (0, 0, 0) and radius scale, measured in pixels. A 360 panorama would therefore have a resulting width of 2 * scale * PI pixels. Poles are located at (0, -1, 0) and (0, 1, 0) points.

Implementations

impl Detail_SphericalWarper[src]

impl Detail_SphericalWarper[src]

pub fn new(scale: f32) -> Result<Detail_SphericalWarper>[src]

Construct an instance of the spherical warper class.

Parameters

  • scale: Radius of the projected sphere, in pixels. An image spanning the whole sphere will have a width of 2 * scale * PI pixels.

Trait Implementations

impl Boxed for Detail_SphericalWarper[src]

impl Detail_RotationWarper for Detail_SphericalWarper[src]

impl Detail_SphericalWarperTrait for Detail_SphericalWarper[src]

impl Drop for Detail_SphericalWarper[src]

impl Send for Detail_SphericalWarper[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, 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.