opencv on mbed
FeatherBlender Class Reference
[Image Blenders]
Simple blender which mixes images at its borders. More...
#include <blenders.hpp>
Inherits cv::detail::Blender.
Public Member Functions | |
void | prepare (Rect dst_roi) |
void | feed (InputArray img, InputArray mask, Point tl) |
Processes the image. | |
void | blend (InputOutputArray dst, InputOutputArray dst_mask) |
Blends and returns the final pano. | |
Rect | 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. | |
void | prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes) |
Prepares the blender for blending. |
Detailed Description
Simple blender which mixes images at its borders.
Definition at line 95 of file blenders.hpp.
Member Function Documentation
void blend | ( | InputOutputArray | dst, |
InputOutputArray | dst_mask | ||
) | [virtual] |
Blends and returns the final pano.
- Parameters:
-
dst Final pano dst_mask Final pano mask
Reimplemented from Blender.
Rect 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.
void feed | ( | InputArray | img, |
InputArray | mask, | ||
Point | tl | ||
) | [virtual] |
Processes the image.
- Parameters:
-
img Source image mask Source image mask tl Source image top-left corners
Reimplemented from Blender.
void prepare | ( | Rect | dst_roi ) | [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 Blender.
Generated on Tue Jul 12 2022 16:42:44 by 1.7.2