Loading...
Searching...
No Matches
cv::detail::FeatherBlender Class Reference
Simple blender which mixes images at its borders. More...
#include <opencv2/stitching/detail/blenders.hpp>
Inheritance diagram for cv::detail::FeatherBlender:

Public Member Functions | |
FeatherBlender (float sharpness=0.02f) | |
void | blend (InputOutputArray dst, InputOutputArray dst_mask) CV_OVERRIDE |
Blends and returns the final pano. | |
Rect | createWeightMaps (const std::vector< UMat > &masks, const std::vector< Point > &corners, std::vector< UMat > &weight_maps) |
void | feed (InputArray img, InputArray mask, Point tl) CV_OVERRIDE |
Processes the image. | |
void | prepare (Rect dst_roi) CV_OVERRIDE |
void | setSharpness (float val) |
float | sharpness () const |
![]() | |
virtual | ~Blender () |
virtual void | blend (InputOutputArray dst, InputOutputArray dst_mask) |
Blends and returns the final pano. | |
virtual void | feed (InputArray img, InputArray mask, Point tl) |
Processes the image. | |
virtual void | prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes) |
Prepares the blender for blending. | |
virtual void | prepare (Rect dst_roi) |
Additional Inherited Members | |
![]() | |
enum | { NO , FEATHER , MULTI_BAND } |
![]() | |
static Ptr< Blender > | createDefault (int type, bool try_gpu=false) |
![]() | |
UMat | dst_ |
UMat | dst_mask_ |
Rect | dst_roi_ |
Detailed Description
Simple blender which mixes images at its borders.
- Examples
- samples/cpp/stitching_detailed.cpp.
Member Function Documentation
◆ blend()
|
virtual |
Blends and returns the final pano.
- Parameters
-
dst Final pano dst_mask Final pano mask
Reimplemented from cv::detail::Blender.
◆ createWeightMaps()
Rect cv::detail::FeatherBlender::createWeightMaps | ( | const std::vector< UMat > & | masks, |
const std::vector< Point > & | corners, | ||
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.
◆ feed()
|
virtual |
Processes the image.
- Parameters
-
img Source image mask Source image mask tl Source image top-left corners
Reimplemented from cv::detail::Blender.
◆ prepare()
|
virtual |
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.
◆ setSharpness()
|
inline |
- Examples
- samples/cpp/stitching_detailed.cpp.
◆ sharpness()
|
inline |
- Examples
- samples/cpp/stitching_detailed.cpp.
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/blenders.hpp