OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::detail::CylindricalWarper クラス

画像を x*x + z*z = 1 の円筒にマッピングするワーパー。続き...

#include <opencv2/stitching/detail/warpers.hpp>

Collaboration diagram for cv::detail::CylindricalWarper:

公開メンバ関数

 CylindricalWarper (float scale)
 円筒ワーパークラスのインスタンスを構築する。
 
Rect buildMaps (Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
 与えられたカメラデータに基づいて投影マップを構築する。
 
Point warp (InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
 画像を投影する。
 
- Public Member Functions inherited from cv::detail::RotationWarperBase< CylindricalProjector >
Rect buildMaps (Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
 与えられたカメラデータに基づいて投影マップを構築する。
 
float getScale () const CV_OVERRIDE
 
void setScale (float val) CV_OVERRIDE
 
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
 画像を逆方向に投影する。
 
Point2f warpPoint (const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
 画像点を投影する。
 
Point2f warpPointBackward (const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
 画像点を逆方向に投影する。
 
Rect warpRoi (Size src_size, InputArray K, InputArray R) CV_OVERRIDE
 
- Public Member Functions inherited from cv::detail::RotationWarper
virtual ~RotationWarper ()
 

限定公開メンバ関数

void detectResultRoi (Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
 
- Protected Member Functions inherited from cv::detail::RotationWarperBase< CylindricalProjector >
void detectResultRoiByBorder (Size src_size, Point &dst_tl, Point &dst_br)
 

Additional Inherited Members

- Protected Attributes inherited from cv::detail::RotationWarperBase< CylindricalProjector >
CylindricalProjector projector_
 

詳細説明

画像を x*x + z*z = 1 の円筒にマッピングするワーパー。

構築子と解体子の詳解

◆ CylindricalWarper()

cv::detail::CylindricalWarper::CylindricalWarper ( float scale)
inline

円筒ワーパークラスのインスタンスを構築する。

引数
scale投影画像のスケール乗数

メンバ関数詳解

◆ buildMaps()

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

与えられたカメラデータに従って投影マップを構築する。

引数
src_sizeソース画像のサイズ
Kカメラ内部パラメータ
Rカメラ回転行列
xmapx軸の投影マップ
ymapy軸の投影マップ
戻り値
投影された画像の最小バウンディングボックス

cv::detail::RotationWarper を実装している。

cv::detail::CylindricalWarperGpu で再実装されている。

◆ detectResultRoi()

void cv::detail::CylindricalWarper::detectResultRoi ( Size src_size,
Point & dst_tl,
Point & dst_br )
inlineprotectedvirtual

cv::detail::RotationWarperBase< CylindricalProjector > から再実装されている。

◆ warp()

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

画像を投影する。

引数
src入力画像
Kカメラ内部パラメータ
Rカメラ回転行列
interp_mode補間モード
border_mode境界外挿モード
dst投影された画像
戻り値
投影画像の左上コーナー

cv::detail::RotationWarper を実装している。

cv::detail::CylindricalWarperGpu で再実装されている。


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