OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::detail::RotationWarperBase< P > 类模板参考

基于旋转的扭曲器基类,使用 detail::ProjectorBase_ 派生类。 更多...

#include <opencv2/stitching/detail/warpers.hpp>

cv::detail::RotationWarperBase< P > 的协作图

公共成员函数

Rect buildMaps (Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
 根据给定的相机数据构建投影图。
 
float getScale () const CV_OVERRIDE
 
void setScale (float val) CV_OVERRIDE
 
Point warp (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
 投影图像。
 
void warpBackward (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst) CV_OVERRIDE
 反向投影图像。
 
Point2f warpPoint (const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
 投影图像点。
 
Point2f warpPointBackward (const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
 反向投影图像点。
 
Rect warpRoi (Size src_size, InputArray K, InputArray R) CV_OVERRIDE
 
- 继承自 cv::detail::RotationWarper 的公共成员函数
virtual ~RotationWarper ()
 

保护成员函数

virtual void detectResultRoi (Size src_size, Point &dst_tl, Point &dst_br)
 
void detectResultRoiByBorder (Size src_size, Point &dst_tl, Point &dst_br)
 

保护属性

projector_
 

详细描述

template<class P>
class cv::detail::RotationWarperBase< P >

基于旋转的扭曲器基类,使用 detail::ProjectorBase_ 派生类。

成员函数文档

◆ buildMaps()

template<class P >
Rect cv::detail::RotationWarperBase< P >::buildMaps ( Size src_size,
InputArray 输入的相机内参矩阵。,
InputArray R,
OutputArray xmap,
OutputArray ymap )
virtual

根据给定的相机数据构建投影图。

参数
src_size源图像尺寸
输入的相机内参矩阵。相机内参
R相机旋转矩阵
xmapx 轴的投影图
ymapy 轴的投影图
返回
投影图像的最小边界框

实现 cv::detail::RotationWarper

cv::detail::SphericalWarpercv::detail::SphericalWarperGpu 中重新实现。

◆ detectResultRoi()

◆ detectResultRoiByBorder()

template<class P >
void cv::detail::RotationWarperBase< P >::detectResultRoiByBorder ( Size src_size,
Point & dst_tl,
Point & dst_br )
保护

◆ getScale()

template<class P >
float cv::detail::RotationWarperBase< P >::getScale ( ) const
内联

重新实现自 cv::detail::RotationWarper

◆ setScale()

template<class P >
void cv::detail::RotationWarperBase< P >::setScale ( float val)
内联

重新实现自 cv::detail::RotationWarper

◆ warp()

template<class P >
Point cv::detail::RotationWarperBase< P >::warp ( InputArray src,
InputArray 输入的相机内参矩阵。,
InputArray R,
int interp_mode,
int border_mode,
OutputArray dst )
virtual

投影图像。

参数
src源图像
输入的相机内参矩阵。相机内参
R相机旋转矩阵
interp_mode插值模式
border_mode边界外推模式
dst投影图像
返回
投影图像的左上角

实现 cv::detail::RotationWarper

cv::detail::SphericalWarpercv::detail::SphericalWarperGpu 中重新实现。

◆ warpBackward()

template<class P >
void cv::detail::RotationWarperBase< P >::warpBackward ( InputArray src,
InputArray 输入的相机内参矩阵。,
InputArray R,
int interp_mode,
int border_mode,
Size dst_size,
OutputArray dst )
virtual

反向投影图像。

参数
src投影图像
输入的相机内参矩阵。相机内参
R相机旋转矩阵
interp_mode插值模式
border_mode边界外推模式
dst_size反向投影图像尺寸
dst反向投影图像

实现 cv::detail::RotationWarper

◆ warpPoint()

template<class P >
Point2f cv::detail::RotationWarperBase< P >::warpPoint ( const Point2f & pt,
InputArray 输入的相机内参矩阵。,
InputArray R )
virtual

投影图像点。

参数
pt源点
输入的相机内参矩阵。相机内参
R相机旋转矩阵
返回
投影点

实现 cv::detail::RotationWarper

◆ warpPointBackward()

template<class P >
Point2f cv::detail::RotationWarperBase< P >::warpPointBackward ( const Point2f & pt,
InputArray 输入的相机内参矩阵。,
InputArray R )
virtual

反向投影图像点。

参数
pt投影点
输入的相机内参矩阵。相机内参
R相机旋转矩阵
返回
反向投影点

实现 cv::detail::RotationWarper

◆ warpRoi()

template<class P >
Rect cv::detail::RotationWarperBase< P >::warpRoi ( Size src_size,
InputArray 输入的相机内参矩阵。,
InputArray R )
virtual
参数
src_size源图像边框
输入的相机内参矩阵。相机内参
R相机旋转矩阵
返回
投影图像的最小边界框

实现 cv::detail::RotationWarper

成员数据文档

◆ projector_

template<class P >
P cv::detail::RotationWarperBase< P >::projector_
保护

此类的文档生成自以下文件: