OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::PyRotationWarper Class Reference

#include <opencv2/stitching/warpers.hpp>

Public Member Functions

 PyRotationWarper (String type, float scale)
 
 PyRotationWarper ()
 
 ~PyRotationWarper ()
 
Rect buildMaps (Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap)
 Builds the projection maps according to the given camera data. More...
 
float getScale () const
 
void setScale (float)
 
Point warp (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst)
 Projects the image. More...
 
void warpBackward (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst)
 Projects the image backward. More...
 
Point2f warpPoint (const Point2f &pt, InputArray K, InputArray R)
 Projects the image point. More...
 
Rect warpRoi (Size src_size, InputArray K, InputArray R)
 

Constructor & Destructor Documentation

◆ PyRotationWarper() [1/2]

cv::PyRotationWarper::PyRotationWarper ( String  type,
float  scale 
)

◆ PyRotationWarper() [2/2]

cv::PyRotationWarper::PyRotationWarper ( )
inline

◆ ~PyRotationWarper()

cv::PyRotationWarper::~PyRotationWarper ( )
inline

References CV_OUT, and CV_WRAP.

Member Function Documentation

◆ buildMaps()

Rect cv::PyRotationWarper::buildMaps ( Size  src_size,
InputArray  K,
InputArray  R,
OutputArray  xmap,
OutputArray  ymap 
)

Builds the projection maps according to the given camera data.

Parameters
src_sizeSource image size
KCamera intrinsic parameters
RCamera rotation matrix
xmapProjection map for the x axis
ymapProjection map for the y axis
Returns
Projected image minimum bounding box

◆ getScale()

float cv::PyRotationWarper::getScale ( ) const
inline

◆ setScale()

void cv::PyRotationWarper::setScale ( float  )
inline

◆ warp()

Point cv::PyRotationWarper::warp ( InputArray  src,
InputArray  K,
InputArray  R,
int  interp_mode,
int  border_mode,
OutputArray  dst 
)

Projects the image.

Parameters
srcSource image
KCamera intrinsic parameters
RCamera rotation matrix
interp_modeInterpolation mode
border_modeBorder extrapolation mode
dstProjected 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 
)

Projects the image backward.

Parameters
srcProjected image
KCamera intrinsic parameters
RCamera rotation matrix
interp_modeInterpolation mode
border_modeBorder extrapolation mode
dst_sizeBackward-projected image size
dstBackward-projected image

◆ warpPoint()

Point2f cv::PyRotationWarper::warpPoint ( const Point2f pt,
InputArray  K,
InputArray  R 
)

Projects the image point.

Parameters
ptSource point
KCamera intrinsic parameters
RCamera rotation matrix
Returns
Projected point

◆ warpRoi()

Rect cv::PyRotationWarper::warpRoi ( Size  src_size,
InputArray  K,
InputArray  R 
)
Parameters
src_sizeSource image bounding box
KCamera intrinsic parameters
RCamera rotation matrix
Returns
Projected image minimum bounding box

The documentation for this class was generated from the following file: