OpenCV  2.4.13.4
Open Source Computer Vision
cv::detail::FeatherBlender Class Reference

#include <blenders.hpp>

Inheritance diagram for cv::detail::FeatherBlender:
cv::detail::Blender

Public Member Functions

 FeatherBlender (float sharpness=0.02f)
 
float sharpness () const
 
void setSharpness (float val)
 
void prepare (Rect dst_roi)
 
void feed (const Mat &img, const Mat &mask, Point tl)
 
void blend (Mat &dst, Mat &dst_mask)
 
Rect createWeightMaps (const std::vector< Mat > &masks, const std::vector< Point > &corners, std::vector< Mat > &weight_maps)
 
- Public Member Functions inherited from cv::detail::Blender
virtual ~Blender ()
 
void prepare (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 

Additional Inherited Members

- Public Types inherited from cv::detail::Blender
enum  { NO, FEATHER, MULTI_BAND }
 
- Static Public Member Functions inherited from cv::detail::Blender
static Ptr< BlendercreateDefault (int type, bool try_gpu=false)
 
- Protected Attributes inherited from cv::detail::Blender
Mat dst_
 
Mat dst_mask_
 
Rect dst_roi_
 

Constructor & Destructor Documentation

§ FeatherBlender()

cv::detail::FeatherBlender::FeatherBlender ( float  sharpness = 0.02f)
inline

Member Function Documentation

§ blend()

void cv::detail::FeatherBlender::blend ( Mat dst,
Mat dst_mask 
)
virtual

Reimplemented from cv::detail::Blender.

§ createWeightMaps()

Rect cv::detail::FeatherBlender::createWeightMaps ( const std::vector< Mat > &  masks,
const std::vector< Point > &  corners,
std::vector< Mat > &  weight_maps 
)

§ feed()

void cv::detail::FeatherBlender::feed ( const Mat img,
const Mat mask,
Point  tl 
)
virtual

Reimplemented from cv::detail::Blender.

§ prepare()

void cv::detail::FeatherBlender::prepare ( Rect  dst_roi)
virtual

Reimplemented from cv::detail::Blender.

§ setSharpness()

void cv::detail::FeatherBlender::setSharpness ( float  val)
inline

§ sharpness()

float cv::detail::FeatherBlender::sharpness ( ) const
inline

The documentation for this class was generated from the following file: