OpenCV453
公開メンバ関数 | 限定公開メンバ関数 | 全メンバ一覧
cv::detail::AffineWarper クラス

Affine warper that uses rotations and translations [詳解]

#include <warpers.hpp>

cv::detail::PlaneWarperを継承しています。

公開メンバ関数

 AffineWarper (float scale=1.f)
 Construct an instance of the affine warper class. [詳解]
 
Point2f warpPoint (const Point2f &pt, InputArray K, InputArray H) CV_OVERRIDE
 Projects the image point. [詳解]
 
Point2f warpPointBackward (const Point2f &pt, InputArray K, InputArray H) CV_OVERRIDE
 Projects the image point backward. [詳解]
 
Rect buildMaps (Size src_size, InputArray K, InputArray H, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
 Builds the projection maps according to the given camera data. [詳解]
 
Point warp (InputArray src, InputArray K, InputArray H, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
 Projects the image. [詳解]
 
Rect warpRoi (Size src_size, InputArray K, InputArray H) CV_OVERRIDE
 
- 基底クラス cv::detail::PlaneWarper に属する継承公開メンバ関数
 PlaneWarper (float scale=1.f)
 Construct an instance of the plane warper class. [詳解]
 
Point2f warpPoint (const Point2f &pt, InputArray K, InputArray R, InputArray T)
 
Point2f warpPointBackward (const Point2f &pt, InputArray K, InputArray R, InputArray T)
 
virtual Rect buildMaps (Size src_size, InputArray K, InputArray R, InputArray T, CV_OUT OutputArray xmap, CV_OUT OutputArray ymap)
 
Rect buildMaps (Size src_size, InputArray K, InputArray R, CV_OUT OutputArray xmap, CV_OUT OutputArray ymap) CV_OVERRIDE
 
Point warp (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, CV_OUT OutputArray dst) CV_OVERRIDE
 Projects the image. [詳解]
 
virtual Point warp (InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, CV_OUT OutputArray dst)
 
Rect warpRoi (Size src_size, InputArray K, InputArray R, InputArray T)
 
- 基底クラス cv::detail::RotationWarperBase< PlaneProjector > に属する継承公開メンバ関数
Point2f warpPoint (const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
 Projects the image point. [詳解]
 
Point2f warpPointBackward (const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
 Projects the image point backward. [詳解]
 
Rect buildMaps (Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
 Builds the projection maps according to the given camera data. [詳解]
 
Point warp (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
 
void warpBackward (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst) CV_OVERRIDE
 
Rect warpRoi (Size src_size, InputArray K, InputArray R) CV_OVERRIDE
 
float getScale () const CV_OVERRIDE
 
void setScale (float val) CV_OVERRIDE
 
- 基底クラス cv::detail::RotationWarper に属する継承公開メンバ関数
virtual void warpBackward (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, CV_OUT OutputArray dst)=0
 Projects the image backward. [詳解]
 

限定公開メンバ関数

void getRTfromHomogeneous (InputArray H, Mat &R, Mat &T)
 Extracts rotation and translation matrices from matrix H representing affine transformation in homogeneous coordinates
 
- 基底クラス cv::detail::PlaneWarper に属する継承限定公開メンバ関数
void detectResultRoi (Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
 
- 基底クラス cv::detail::RotationWarperBase< PlaneProjector > に属する継承限定公開メンバ関数
void detectResultRoiByBorder (Size src_size, Point &dst_tl, Point &dst_br)
 

その他の継承メンバ

- 基底クラス cv::detail::RotationWarperBase< PlaneProjector > に属する継承限定公開変数類
PlaneProjector projector_
 

詳解

Affine warper that uses rotations and translations

Uses affine transformation in homogeneous coordinates to represent both rotation and translation in camera rotation matrix.

構築子と解体子

◆ AffineWarper()

cv::detail::AffineWarper::AffineWarper ( float  scale = 1.f)
inline

Construct an instance of the affine warper class.

引数
scaleProjected image scale multiplier

関数詳解

◆ buildMaps()

Rect cv::detail::AffineWarper::buildMaps ( Size  src_size,
InputArray  K,
InputArray  H,
OutputArray  xmap,
OutputArray  ymap 
)
virtual

Builds the projection maps according to the given camera data.

引数
src_sizeSource image size
KCamera intrinsic parameters
HCamera extrinsic parameters
xmapProjection map for the x axis
ymapProjection map for the y axis
戻り値
Projected image minimum bounding box

cv::detail::RotationWarperを実装しています。

◆ warp()

Point cv::detail::AffineWarper::warp ( InputArray  src,
InputArray  K,
InputArray  H,
int  interp_mode,
int  border_mode,
OutputArray  dst 
)

Projects the image.

引数
srcSource image
KCamera intrinsic parameters
HCamera extrinsic parameters
interp_modeInterpolation mode
border_modeBorder extrapolation mode
dstProjected image
戻り値
Project image top-left corner

◆ warpPoint()

Point2f cv::detail::AffineWarper::warpPoint ( const Point2f pt,
InputArray  K,
InputArray  H 
)
virtual

Projects the image point.

引数
ptSource point
KCamera intrinsic parameters
HCamera extrinsic parameters
戻り値
Projected point

cv::detail::PlaneWarperを再実装しています。

◆ warpPointBackward()

Point2f cv::detail::AffineWarper::warpPointBackward ( const Point2f pt,
InputArray  K,
InputArray  H 
)
virtual

Projects the image point backward.

引数
ptProjected point
KCamera intrinsic parameters
HCamera extrinsic parameters
戻り値
Backward-projected point

cv::detail::PlaneWarperを再実装しています。

◆ warpRoi()

Rect cv::detail::AffineWarper::warpRoi ( Size  src_size,
InputArray  K,
InputArray  H 
)
virtual
引数
src_sizeSource image bounding box
KCamera intrinsic parameters
HCamera extrinsic parameters
戻り値
Projected image minimum bounding box

cv::detail::PlaneWarperを再実装しています。


このクラス詳解は次のファイルから抽出されました: