Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: RZ_A2M_Mbed_samples
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 99 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 18:20:24 by
