OpenCV453
|
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) |
![]() | |
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. [詳解] | |
その他の継承メンバ | |
![]() | |
enum | { NO , FEATHER , MULTI_BAND } |
![]() | |
static CV_WRAP Ptr< Blender > | createDefault (int type, bool try_gpu=false) |
![]() | |
UMat | dst_ |
UMat | dst_mask_ |
Rect | dst_roi_ |
Simple blender which mixes images at its borders.
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.
|
virtual |
Processes the image.
img | Source image |
mask | Source image mask |
tl | Source image top-left corners |
cv::detail::Blenderを再実装しています。
|
virtual |
これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。
cv::detail::Blenderを再実装しています。