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

Simple blender which mixes images at its borders. [詳解]

#include <blenders.hpp>

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

公開メンバ関数

CV_WRAP FeatherBlender (float sharpness=0.02f)
 
CV_WRAP float sharpness () const
 
CV_WRAP void setSharpness (float val)
 
CV_WRAP void prepare (Rect dst_roi) CV_OVERRIDE
 
CV_WRAP void feed (InputArray img, InputArray mask, Point tl) CV_OVERRIDE
 Processes the image. [詳解]
 
CV_WRAP void blend (InputOutputArray dst, InputOutputArray dst_mask) CV_OVERRIDE
 
CV_WRAP Rect createWeightMaps (const std::vector< UMat > &masks, const std::vector< Point > &corners, CV_IN_OUT std::vector< UMat > &weight_maps)
 
- 基底クラス cv::detail::Blender に属する継承公開メンバ関数
virtual CV_WRAP void prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 Prepares the blender for blending. [詳解]
 
virtual CV_WRAP void blend (CV_IN_OUT InputOutputArray dst, CV_IN_OUT InputOutputArray dst_mask)
 Blends and returns the final pano. [詳解]
 

その他の継承メンバ

- 基底クラス cv::detail::Blender に属する継承公開型
enum  { NO , FEATHER , MULTI_BAND }
 
- 基底クラス cv::detail::Blender に属する継承静的公開メンバ関数
static CV_WRAP Ptr< BlendercreateDefault (int type, bool try_gpu=false)
 
- 基底クラス cv::detail::Blender に属する継承限定公開変数類
UMat dst_
 
UMat dst_mask_
 
Rect dst_roi_
 

詳解

Simple blender which mixes images at its borders.

関数詳解

◆ createWeightMaps()

CV_WRAP Rect cv::detail::FeatherBlender::createWeightMaps ( const std::vector< UMat > &  masks,
const std::vector< Point > &  corners,
CV_IN_OUT std::vector< UMat > &  weight_maps 
)

Creates weight maps for fixed set of source images by their masks and top-left corners. Final image can be obtained by simple weighting of the source images.

◆ feed()

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

Processes the image.

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

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

◆ prepare()

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

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

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


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