Image Blenders#

Detailed Description#

Classes#

Name

Description

class cv::detail::Blender

Base class for all blenders. View details

class cv::detail::FeatherBlender

Simple blender which mixes images at its borders. View details

class cv::detail::MultiBandBlender

Blender which uses multi-band blending algorithm (see [52]). View details

Functions#

Return

Name

Description

cv::FeatherBlender(float sharpness = 0.02f)

void

cv::createLaplacePyr(
InputArray img,
int num_levels,
std::vector< UMat > & pyr )

void

cv::createLaplacePyrGpu(
InputArray img,
int num_levels,
std::vector< UMat > & pyr )

void

cv::createWeightMap(
InputArray mask,
float sharpness,
InputOutputArray weight )

void

cv::normalizeUsingWeightMap(
InputArray weight,
InputOutputArray src )

void

cv::restoreImageFromLaplacePyr(std::vector< UMat > & pyr)

void

cv::restoreImageFromLaplacePyrGpu(std::vector< UMat > & pyr)

Function Documentation#

createLaplacePyr()#

void cv::detail::createLaplacePyr(
InputArray img,
int num_levels,
std::vector< UMat > & pyr )

#include <opencv2/stitching/detail/blenders.hpp>

Python:

cv.detail.createLaplacePyr(img, num_levels, pyr) -> pyr

createLaplacePyrGpu()#

void cv::detail::createLaplacePyrGpu(
InputArray img,
int num_levels,
std::vector< UMat > & pyr )

#include <opencv2/stitching/detail/blenders.hpp>

Python:

cv.detail.createLaplacePyrGpu(img, num_levels, pyr) -> pyr

createWeightMap()#

void cv::detail::createWeightMap(
InputArray mask,
float sharpness,
InputOutputArray weight )

#include <opencv2/stitching/detail/blenders.hpp>

Python:

cv.detail.createWeightMap(mask, sharpness, weight) -> weight

normalizeUsingWeightMap()#

void cv::detail::normalizeUsingWeightMap(
InputArray weight,
InputOutputArray src )

#include <opencv2/stitching/detail/blenders.hpp>

Python:

cv.detail.normalizeUsingWeightMap(weight, src) -> src

restoreImageFromLaplacePyr()#

void cv::detail::restoreImageFromLaplacePyr(std::vector< UMat > & pyr)

#include <opencv2/stitching/detail/blenders.hpp>

Python:

cv.detail.restoreImageFromLaplacePyr(pyr) -> pyr

restoreImageFromLaplacePyrGpu()#

void cv::detail::restoreImageFromLaplacePyrGpu(std::vector< UMat > & pyr)

#include <opencv2/stitching/detail/blenders.hpp>

Python:

cv.detail.restoreImageFromLaplacePyrGpu(pyr) -> pyr