简单的混合器,在图像边界处混合图像。 更多...
#include <opencv2/stitching/detail/blenders.hpp>
◆ blend()
Python |
---|
| cv.detail.FeatherBlender.blend( | dst, dst_mask | ) -> | dst, dst_mask |
◆ createWeightMaps()
Rect cv::detail::FeatherBlender::createWeightMaps |
( |
const std::vector< UMat > & |
masks, |
|
|
const std::vector< Point > & |
corners, |
|
|
std::vector< UMat > & |
weight_maps |
|
) |
| |
Python |
---|
| cv.detail.FeatherBlender.createWeightMaps( | masks, corners, weight_maps | ) -> | retval, weight_maps |
通过其掩码和左上角创建一组固定源图像的权重图。最终图像可以通过源图像的简单加权获得。
◆ feed()
Python |
---|
| cv.detail.FeatherBlender.feed( | img, mask, tl | ) -> | None |
◆ prepare()
void cv::detail::FeatherBlender::prepare |
( |
Rect |
dst_roi | ) |
|
|
virtual |
Python |
---|
| cv.detail.FeatherBlender.prepare( | dst_roi | ) -> | None |
◆ setSharpness()
void cv::detail::FeatherBlender::setSharpness |
( |
float |
val | ) |
|
|
inline |
Python |
---|
| cv.detail.FeatherBlender.setSharpness( | val | ) -> | None |
◆ sharpness()
float cv::detail::FeatherBlender::sharpness |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.detail.FeatherBlender.sharpness( | | ) -> | retval |
该类的文档是从以下文件生成的