[−][src]Trait opencv::stitching::Detail_SphericalWarperTrait
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.
Required methods
pub fn as_raw_Detail_SphericalWarper(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_SphericalWarper(&mut self) -> *mut c_void
[src]
Provided methods
pub fn build_maps(
&mut self,
src_size: Size,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
xmap: &mut dyn ToOutputArray,
ymap: &mut dyn ToOutputArray
) -> Result<Rect>
[src]
&mut self,
src_size: Size,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
xmap: &mut dyn ToOutputArray,
ymap: &mut dyn ToOutputArray
) -> Result<Rect>
pub fn warp(
&mut self,
src: &dyn ToInputArray,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
interp_mode: i32,
border_mode: i32,
dst: &mut dyn ToOutputArray
) -> Result<Point>
[src]
&mut self,
src: &dyn ToInputArray,
k: &dyn ToInputArray,
r: &dyn ToInputArray,
interp_mode: i32,
border_mode: i32,
dst: &mut dyn ToOutputArray
) -> Result<Point>