OpenCV 4.10.0
开源计算机视觉
|
仅限于旋转的型号图像扭曲界面。 更多...
#include <opencv2/stitching/detail/warpers.hpp>
公有成员函数 | |
virtual | ~RotationWarper () |
virtual Rect | buildMaps (Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap)=0 |
根据给定的相机数据构建投影映射。 | |
virtual float | getScale () const |
virtual void | setScale (float) |
virtual Point | warp (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst)=0 |
投影图像。 | |
virtual void | warpBackward (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst)=0 |
反向投影图像。 | |
virtual Point2f | warpPoint (const Point2f &pt, InputArray K, InputArray R) = 0 |
输出的图像点。 | |
virtual Point2f | warpPointBackward (const Point2f &pt, InputArray K, InputArray R) = 0 |
输出的图像点,反向。 | |
virtual Rect | warpRoi (Size src_size, InputArray K, InputArray R) = 0 |
只进行旋转的模型图像变形接口。
|
inlinevirtual |
|
纯虚态 |
根据给定的相机数据构建投影映射。
src_size | 源图像尺寸 |
K | 相机内参 |
R | 相机旋转矩阵 |
xmap | x轴的投影映射 |
ymap | y轴的投影映射 |
由下列实现 cv::detail::AffineWarper, cv::detail::RotationWarperBase< P >, cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >, cv::detail::RotationWarperBase< CompressedRectilinearProjector >, cv::detail::RotationWarperBase< CylindricalPortraitProjector >, cv::detail::RotationWarperBase< CylindricalProjector >, cv::detail::RotationWarperBase< FisheyeProjector >, cv::detail::RotationWarperBase< MercatorProjector >, cv::detail::RotationWarperBase< PaniniPortraitProjector >, cv::detail::RotationWarperBase< PaniniProjector >, cv::detail::RotationWarperBase< PlanePortraitProjector >, cv::detail::RotationWarperBase< PlaneProjector >, cv::detail::RotationWarperBase< SphericalPortraitProjector >, cv::detail::RotationWarperBase< SphericalProjector >, cv::detail::RotationWarperBase< StereographicProjector >, cv::detail::RotationWarperBase< TransverseMercatorProjector >, cv::detail::PlaneWarper, cv::detail::SphericalWarper, cv::detail::CylindricalWarper, cv::detail::PlaneWarperGpu, cv::detail::SphericalWarperGpu 和 cv::detail::CylindricalWarperGpu。
|
inlinevirtual |
重新在 cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector > 和 cv::detail::RotationWarperBase< TransverseMercatorProjector > 中实现。
|
inlinevirtual |
在 cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector > 和 cv::detail::RotationWarperBase< TransverseMercatorProjector > 中进行了重新实现。
|
纯虚态 |
投影图像。
src | 图像源 |
K | 相机内参 |
R | 相机旋转矩阵 |
interp_mode | 插值模式 |
border_mode | 边界外推模式 |
dst | 投影图像 |
在 cv::detail::AffineWarper、cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector >、cv::detail::RotationWarperBase< TransverseMercatorProjector >、cv::detail::PlaneWarper、cv::detail::SphericalWarper、cv::detail::CylindricalWarper、cv::detail::PlaneWarperGpu、cv::detail::SphericalWarperGpu 和 cv::detail::CylindricalWarperGpu 中实现。
|
纯虚态 |
反向投影图像。
src | 投影图像 |
K | 相机内参 |
R | 相机旋转矩阵 |
interp_mode | 插值模式 |
border_mode | 边界外推模式 |
dst_size | 反向投影的图像尺寸 |
dst | 反向投影图像 |
在 cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector >、cv::detail::RotationWarperBase< TransverseMercatorProjector > 实现。
|
纯虚态 |
输出的图像点。
pt | 源图像中的点 |
K | 相机内参 |
R | 相机旋转矩阵 |
已在 cv::detail::AffineWarper、cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector >、cv::detail::RotationWarperBase< TransverseMercatorProjector > 和 cv::detail::PlaneWarper 中实现。
|
纯虚态 |
输出的图像点,反向。
pt | 投影中的点 |
K | 相机内参 |
R | 相机旋转矩阵 |
在 cv::detail::AffineWarper、cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector >、cv::detail::RotationWarperBase< TransverseMercatorProjector > 和 cv::detail::PlaneWarper 中实现。
|
纯虚态 |
src_size | 源图像边界框 |
K | 相机内参 |
R | 相机旋转矩阵 |
在 cv::detail::AffineWarper、cv::detail::RotationWarperBase< P >、cv::detail::RotationWarperBase< CompressedRectilinearPortraitProjector >、cv::detail::RotationWarperBase< CompressedRectilinearProjector >、cv::detail::RotationWarperBase< CylindricalPortraitProjector >、cv::detail::RotationWarperBase< CylindricalProjector >、cv::detail::RotationWarperBase< FisheyeProjector >、cv::detail::RotationWarperBase< MercatorProjector >、cv::detail::RotationWarperBase< PaniniPortraitProjector >、cv::detail::RotationWarperBase< PaniniProjector >、cv::detail::RotationWarperBase< PlanePortraitProjector >、cv::detail::RotationWarperBase< PlaneProjector >、cv::detail::RotationWarperBase< SphericalPortraitProjector >、cv::detail::RotationWarperBase< SphericalProjector >、cv::detail::RotationWarperBase< StereographicProjector >、cv::detail::RotationWarperBase< TransverseMercatorProjector > 和 cv::detail::PlaneWarper 中实现。