Simple blender which mixes images at its borders.
More...
#include <opencv2/stitching/detail/blenders.hpp>
Simple blender which mixes images at its borders.
- Examples:
- samples/cpp/stitching_detailed.cpp.
Python: |
---|
| dst, dst_mask | = | cv.detail_FeatherBlender.blend( | dst, dst_mask | ) |
Blends and returns the final pano.
- Parameters
-
dst | Final pano |
dst_mask | Final pano mask |
Reimplemented from cv::detail::Blender.
Rect cv::detail::FeatherBlender::createWeightMaps |
( |
const std::vector< UMat > & |
masks, |
|
|
const std::vector< Point > & |
corners, |
|
|
std::vector< UMat > & |
weight_maps |
|
) |
| |
Python: |
---|
| retval, weight_maps | = | cv.detail_FeatherBlender.createWeightMaps( | masks, corners, 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.
Python: |
---|
| None | = | cv.detail_FeatherBlender.feed( | img, mask, tl | ) |
Processes the image.
- Parameters
-
img | Source image |
mask | Source image mask |
tl | Source image top-left corners |
Reimplemented from cv::detail::Blender.
void cv::detail::FeatherBlender::prepare |
( |
Rect |
dst_roi | ) |
|
|
virtual |
Python: |
---|
| None | = | cv.detail_FeatherBlender.prepare( | dst_roi | ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented from cv::detail::Blender.
void cv::detail::FeatherBlender::setSharpness |
( |
float |
val | ) |
|
|
inline |
Python: |
---|
| None | = | cv.detail_FeatherBlender.setSharpness( | val | ) |
float cv::detail::FeatherBlender::sharpness |
( |
| ) |
const |
|
inline |
Python: |
---|
| retval | = | cv.detail_FeatherBlender.sharpness( | | ) |
The documentation for this class was generated from the following file: