Renesas / opencv-lib

Dependents:   RZ_A2M_Mbed_samples

Embed: (wiki syntax)

« Back to documentation index

Blender Class Reference

Blender Class Reference
[Image Blenders]

Base class for all blenders. More...

#include <blenders.hpp>

Inherited by FeatherBlender, and MultiBandBlender.

Public Member Functions

void prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 Prepares the blender for blending.
virtual void prepare (Rect dst_roi)
virtual void feed (InputArray img, InputArray mask, Point tl)
 Processes the image.
virtual void blend (InputOutputArray dst, InputOutputArray dst_mask)
 Blends and returns the final pano.

Detailed Description

Base class for all blenders.

Simple blender which puts one image over another

Definition at line 62 of file blenders.hpp.


Member Function Documentation

virtual void blend ( InputOutputArray  dst,
InputOutputArray  dst_mask 
) [virtual]

Blends and returns the final pano.

Parameters:
dstFinal pano
dst_maskFinal pano mask

Reimplemented in FeatherBlender, and MultiBandBlender.

virtual void feed ( InputArray  img,
InputArray  mask,
Point  tl 
) [virtual]

Processes the image.

Parameters:
imgSource image
maskSource image mask
tlSource image top-left corners

Reimplemented in FeatherBlender, and MultiBandBlender.

virtual 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 in FeatherBlender, and MultiBandBlender.

void prepare ( const std::vector< Point > &  corners,
const std::vector< Size > &  sizes 
)

Prepares the blender for blending.

Parameters:
cornersSource images top-left corners
sizesSource image sizes