简单的混合器,用于混合图像边界。 更多…
#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 |
此类的文档是从以下文件生成的: