Warper that maps an image onto the z = 1 plane.
More...
#include "warpers.hpp"
Inheritance diagram for cv::detail::PlaneWarper:
Public Member Functions
Construct an instance of the plane warper class.
More...
Builds the projection maps according to the given camera data.
More...
Builds the projection maps according to the given camera data.
More...
Projects the image backward.
More...
Protected Member Functions
Additional Inherited Members
Detailed Description
Warper that maps an image onto the z = 1 plane.
Constructor & Destructor Documentation
cv::detail::PlaneWarper::PlaneWarper
(
float
scale = 1.f )
inline
Construct an instance of the plane warper class.
- Parameters
-
scale Projected image scale multiplier
Member Function Documentation
virtual
Rect cv::detail::PlaneWarper::buildMaps
(
Size
src_size,
)
virtual
Rect cv::detail::PlaneWarper::buildMaps
(
Size
src_size,
)
virtual
Builds the projection maps according to the given camera data.
- Parameters
-
src_size Source image size
K Camera intrinsic parameters
R Camera rotation matrix
xmap Projection map for the x axis
ymap Projection map for the y axis
- Returns
- Projected image minimum bounding box
Implements cv::detail::RotationWarper.
Reimplemented in cv::detail::PlaneWarperGpu.
void cv::detail::PlaneWarper::detectResultRoi
(
Size
src_size,
)
protectedvirtual
int
interp_mode,
int
border_mode,
)
virtual
Projects the image.
- Parameters
-
src Source image
K Camera intrinsic parameters
R Camera rotation matrix
interp_mode Interpolation mode
border_mode Border extrapolation mode
dst Projected image
- Returns
- Project image top-left corner
Implements cv::detail::RotationWarper.
Reimplemented in cv::detail::PlaneWarperGpu.
int
interp_mode,
int
border_mode,
)
virtual
Projects the image point.
- Parameters
-
pt Source point
K Camera intrinsic parameters
R Camera rotation matrix
- Returns
- Projected point
Implements cv::detail::RotationWarper.
Rect cv::detail::PlaneWarper::warpRoi
(
Size
src_size,
)
virtual
- Parameters
-
src_size Source image bounding box
K Camera intrinsic parameters
R Camera rotation matrix
- Returns
- Projected image minimum bounding box
Implements cv::detail::RotationWarper.
Rect cv::detail::PlaneWarper::warpRoi
(
Size
src_size,
)
The documentation for this class was generated from the following file: