OpenCV
3.1.0
Open Source Computer Vision
|
Base class for all blenders. More...
#include "blenders.hpp"
Public Types | |
enum | { NO, FEATHER, MULTI_BAND } |
Public Member Functions | |
virtual | ~Blender () |
virtual void | blend (InputOutputArray dst, InputOutputArray dst_mask) |
Blends and returns the final pano. More... | |
virtual void | feed (InputArray img, InputArray mask, Point tl) |
Processes the image. More... | |
void | prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes) |
Prepares the blender for blending. More... | |
virtual void | prepare (Rect dst_roi) |
Static Public Member Functions | |
static Ptr< Blender > | createDefault (int type, bool try_gpu=false) |
Protected Attributes | |
UMat | dst_ |
UMat | dst_mask_ |
Rect | dst_roi_ |
Base class for all blenders.
Simple blender which puts one image over another
|
inlinevirtual |
|
virtual |
Blends and returns the final pano.
dst | Final pano |
dst_mask | Final pano mask |
Reimplemented in cv::detail::MultiBandBlender, and cv::detail::FeatherBlender.
|
virtual |
Processes the image.
img | Source image |
mask | Source image mask |
tl | Source image top-left corners |
Reimplemented in cv::detail::MultiBandBlender, and cv::detail::FeatherBlender.
void cv::detail::Blender::prepare | ( | const std::vector< Point > & | corners, |
const std::vector< Size > & | sizes | ||
) |
Prepares the blender for blending.
corners | Source images top-left corners |
sizes | Source image sizes |
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplemented in cv::detail::MultiBandBlender, and cv::detail::FeatherBlender.
|
protected |
|
protected |
|
protected |