Class cv::detail::FeatherBlender#
Simple blender which mixes images at its borders.
#include <opencv2/stitching/detail/blenders.hpp>Collaboration diagram for cv::detail::FeatherBlender:
Public Types#
Public Types inherited from cv::detail::Blender
Return |
Name |
Description |
|---|---|---|
Public Member Functions#
Public Member Functions inherited from cv::detail::Blender
Return |
Name |
Description |
|---|---|---|
|
Blends and returns the final pano. |
|
|
Processes the image. |
|
|
|
Prepares the blender for blending. |
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::detail::Blender
Return |
Name |
Description |
|---|---|---|
|
Additional Inherited Members#
Detailed Description#
Simple blender which mixes images at its borders.
- Examples
- samples/cpp/stitching_detailed.cpp.
Member Function Documentation#
blend()#
void cv::detail::FeatherBlender::blend(
InputOutputArray dst,
InputOutputArray dst_mask )
Python:
cv.detail.FeatherBlender.blend(dst, dst_mask) -> dst, dst_mask
Blends and returns the final pano.
Parameters
dst— Final panodst_mask— Final pano 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
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()#
void cv::detail::FeatherBlender::feed(
InputArray img,
InputArray mask,
Point tl )
Python:
cv.detail.FeatherBlender.feed(img, mask, tl)
Processes the image.
Parameters
img— Source imagemask— Source image masktl— Source image top-left corners
prepare()#
void cv::detail::FeatherBlender::prepare(Rect dst_roi)
Python:
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.
setSharpness()#
void cv::detail::FeatherBlender::setSharpness(float val)
Python:
cv.detail.FeatherBlender.setSharpness(val)
Member Data Documentation#
dst_weight_map_#
UMat cv::detail::FeatherBlender::dst_weight_map_
sharpness_#
float cv::detail::FeatherBlender::sharpness_
weight_map_#
UMat cv::detail::FeatherBlender::weight_map_
Source file#
The documentation for this class was generated from the following file:
opencv2/stitching/detail/blenders.hpp