Class cv::PyRotationWarper#
#include <opencv2/stitching/warpers.hpp>Collaboration diagram for cv::PyRotationWarper:
Constructor & Destructor Documentation#
PyRotationWarper()#
cv::PyRotationWarper::PyRotationWarper()
Python:
cv.PyRotationWarper(type, scale) -> <PyRotationWarper object>
cv.PyRotationWarper() -> <PyRotationWarper object>
PyRotationWarper()#
cv::PyRotationWarper::PyRotationWarper(
String type,
float scale )
Python:
cv.PyRotationWarper(type, scale) -> <PyRotationWarper object>
cv.PyRotationWarper() -> <PyRotationWarper object>
~PyRotationWarper()#
Member Function Documentation#
buildMaps()#
Rect cv::PyRotationWarper::buildMaps(
Size src_size,
InputArray K,
InputArray R,
OutputArray xmap,
OutputArray ymap )
Python:
cv.PyRotationWarper.buildMaps(src_size, K, R[, xmap[, ymap]]) -> retval, xmap, 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::PyRotationWarper::getScale()
Python:
cv.PyRotationWarper.getScale() -> retval
setScale()#
void cv::PyRotationWarper::setScale(float)
Python:
cv.PyRotationWarper.setScale(arg1)
warp()#
Point cv::PyRotationWarper::warp(
InputArray src,
InputArray K,
InputArray R,
int interp_mode,
int border_mode,
OutputArray dst )
Python:
cv.PyRotationWarper.warp(src, K, R, interp_mode, border_mode[, dst]) -> retval, 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::PyRotationWarper::warpBackward(
InputArray src,
InputArray K,
InputArray R,
int interp_mode,
int border_mode,
Size dst_size,
OutputArray dst )
Python:
cv.PyRotationWarper.warpBackward(src, K, R, interp_mode, border_mode, dst_size[, dst]) -> 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::PyRotationWarper::warpPoint(
const Point2f & pt,
InputArray K,
InputArray R )
Python:
cv.PyRotationWarper.warpPoint(pt, K, R) -> retval
Projects the image point.
Parameters
pt— Source pointK— Camera intrinsic parametersR— Camera rotation matrix
Returns
Projected point
warpPointBackward()#
Point2f cv::PyRotationWarper::warpPointBackward(
const Point2f & pt,
InputArray K,
InputArray R )
Python:
cv.PyRotationWarper.warpPointBackward(pt, K, R) -> retval
Projects the image point backward.
Parameters
pt— Projected pointK— Camera intrinsic parametersR— Camera rotation matrix
Returns
Backward-projected point
warpRoi()#
Rect cv::PyRotationWarper::warpRoi(
Size src_size,
InputArray K,
InputArray R )
Python:
cv.PyRotationWarper.warpRoi(src_size, K, R) -> retval
Parameters
src_size— Source image bounding boxK— Camera intrinsic parametersR— Camera rotation matrix
Returns
Projected image minimum bounding box
Member Data Documentation#
rw#
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/warpers.hpp