Class cv::detail::RotationWarperBase#
Base class for rotation-based warper using a detail::ProjectorBase_ derived class.
#include <opencv2/stitching/detail/warpers.hpp>Collaboration diagram for cv::detail::RotationWarperBase:
Public Member Functions#
Public Member Functions inherited from cv::detail::RotationWarper
Return |
Name |
Description |
|---|---|---|
|
Builds the projection maps according to the given camera data. |
|
|
||
|
||
Projects the image. |
||
|
Projects the image backward. |
|
Projects the image point. |
||
|
Projects the image point backward. |
|
Detailed Description#
Base class for rotation-based warper using a detail::ProjectorBase_ derived class.
Member Function Documentation#
buildMaps()#
Rect cv::detail::RotationWarperBase::buildMaps(
Size src_size,
InputArray K,
InputArray R,
OutputArray xmap,
OutputArray ymap )
Builds the projection maps according to the given camera data.
Parameters
src_size— Source image sizeK— Camera intrinsic parametersR— Camera rotation matrixxmap— Projection map for the x axisymap— Projection map for the y axis
Returns
Projected image minimum bounding box
getScale()#
float cv::detail::RotationWarperBase::getScale()
setScale()#
void cv::detail::RotationWarperBase::setScale(float val)
warp()#
Point cv::detail::RotationWarperBase::warp(
InputArray src,
InputArray K,
InputArray R,
int interp_mode,
int border_mode,
OutputArray dst )
Projects the image.
Parameters
src— Source imageK— Camera intrinsic parametersR— Camera rotation matrixinterp_mode— Interpolation modeborder_mode— Border extrapolation modedst— Projected image
Returns
Project image top-left corner
warpBackward()#
void cv::detail::RotationWarperBase::warpBackward(
InputArray src,
InputArray K,
InputArray R,
int interp_mode,
int border_mode,
Size dst_size,
OutputArray dst )
Projects the image backward.
Parameters
src— Projected imageK— Camera intrinsic parametersR— Camera rotation matrixinterp_mode— Interpolation modeborder_mode— Border extrapolation modedst_size— Backward-projected image sizedst— Backward-projected image
warpPoint()#
Point2f cv::detail::RotationWarperBase::warpPoint(
const Point2f & pt,
InputArray K,
InputArray R )
Projects the image point.
Parameters
pt— Source pointK— Camera intrinsic parametersR— Camera rotation matrix
Returns
Projected point
warpPointBackward()#
Point2f cv::detail::RotationWarperBase::warpPointBackward(
const Point2f & pt,
InputArray K,
InputArray R )
Projects the image point backward.
Parameters
pt— Projected pointK— Camera intrinsic parametersR— Camera rotation matrix
Returns
Backward-projected point
warpRoi()#
Rect cv::detail::RotationWarperBase::warpRoi(
Size src_size,
InputArray K,
InputArray R )
Parameters
src_size— Source image bounding boxK— Camera intrinsic parametersR— Camera rotation matrix
Returns
Projected image minimum bounding box
detectResultRoi()#
void cv::detail::RotationWarperBase::detectResultRoi(
Size src_size,
Point & dst_tl,
Point & dst_br )
detectResultRoiByBorder()#
void cv::detail::RotationWarperBase::detectResultRoiByBorder(
Size src_size,
Point & dst_tl,
Point & dst_br )
Member Data Documentation#
projector_#
P cv::detail::RotationWarperBase::projector_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/warpers.hpp