OpenCV453
公開型 | 公開メンバ関数 | 静的公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::detail::Blender クラス

Base class for all blenders. [詳解]

#include <blenders.hpp>

cv::detail::FeatherBlender, cv::detail::MultiBandBlenderに継承されています。

公開型

enum  { NO , FEATHER , MULTI_BAND }
 

公開メンバ関数

virtual CV_WRAP void prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 Prepares the blender for blending. [詳解]
 
virtual CV_WRAP void prepare (Rect dst_roi)
 
virtual CV_WRAP void feed (InputArray img, InputArray mask, Point tl)
 Processes the image. [詳解]
 
virtual CV_WRAP void blend (CV_IN_OUT InputOutputArray dst, CV_IN_OUT InputOutputArray dst_mask)
 Blends and returns the final pano. [詳解]
 

静的公開メンバ関数

static CV_WRAP Ptr< BlendercreateDefault (int type, bool try_gpu=false)
 

限定公開変数類

UMat dst_
 
UMat dst_mask_
 
Rect dst_roi_
 

詳解

Base class for all blenders.

Simple blender which puts one image over another

関数詳解

◆ blend()

virtual CV_WRAP void cv::detail::Blender::blend ( CV_IN_OUT InputOutputArray  dst,
CV_IN_OUT InputOutputArray  dst_mask 
)
virtual

Blends and returns the final pano.

引数
dstFinal pano
dst_maskFinal pano mask

cv::detail::MultiBandBlenderで再実装されています。

◆ feed()

virtual CV_WRAP void cv::detail::Blender::feed ( InputArray  img,
InputArray  mask,
Point  tl 
)
virtual

Processes the image.

引数
imgSource image
maskSource image mask
tlSource image top-left corners

cv::detail::FeatherBlender, cv::detail::MultiBandBlenderで再実装されています。

◆ prepare() [1/2]

virtual CV_WRAP void cv::detail::Blender::prepare ( const std::vector< Point > &  corners,
const std::vector< Size > &  sizes 
)
virtual

Prepares the blender for blending.

引数
cornersSource images top-left corners
sizesSource image sizes

◆ prepare() [2/2]

virtual CV_WRAP void cv::detail::Blender::prepare ( Rect  dst_roi)
virtual

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

cv::detail::FeatherBlender, cv::detail::MultiBandBlenderで再実装されています。


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