Blender which uses multi-band blending algorithm (see [16]).
More...
#include <opencv2/stitching/detail/blenders.hpp>
Blender which uses multi-band blending algorithm (see [16]).
- Examples:
- samples/cpp/stitching_detailed.cpp.
◆ anonymous enum
Enumerator |
---|
NO | |
FEATHER | |
MULTI_BAND | |
◆ MultiBandBlender()
cv::detail::MultiBandBlender::MultiBandBlender |
( |
int |
try_gpu = false , |
|
|
int |
num_bands = 5 , |
|
|
int |
weight_type = CV_32F |
|
) |
| |
◆ blend()
Blends and returns the final pano.
- Parameters
-
dst | Final pano |
dst_mask | Final pano mask |
Reimplemented from cv::detail::Blender.
◆ createDefault()
static Ptr<Blender> cv::detail::Blender::createDefault |
( |
int |
type, |
|
|
bool |
try_gpu = false |
|
) |
| |
|
staticinherited |
◆ feed()
Processes the image.
- Parameters
-
img | Source image |
mask | Source image mask |
tl | Source image top-left corners |
Reimplemented from cv::detail::Blender.
◆ numBands()
int cv::detail::MultiBandBlender::numBands |
( |
| ) |
const |
|
inline |
◆ prepare() [1/2]
virtual void cv::detail::Blender::prepare |
( |
const std::vector< Point > & |
corners, |
|
|
const std::vector< Size > & |
sizes |
|
) |
| |
|
virtualinherited |
Prepares the blender for blending.
- Parameters
-
corners | Source images top-left corners |
sizes | Source image sizes |
◆ prepare() [2/2]
void cv::detail::MultiBandBlender::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 cv::detail::Blender.
◆ setNumBands()
void cv::detail::MultiBandBlender::setNumBands |
( |
int |
val | ) |
|
|
inline |
- Examples:
- samples/cpp/stitching_detailed.cpp.
References cv::detail::createLaplacePyr(), cv::detail::createLaplacePyrGpu(), cv::detail::createWeightMap(), CV_EXPORTS_W, CV_IN_OUT, CV_OVERRIDE, CV_WRAP, cv::gapi::mask(), cv::detail::normalizeUsingWeightMap(), cv::detail::restoreImageFromLaplacePyr(), and cv::detail::restoreImageFromLaplacePyrGpu().
◆ dst_
UMat cv::detail::Blender::dst_ |
|
protectedinherited |
◆ dst_mask_
UMat cv::detail::Blender::dst_mask_ |
|
protectedinherited |
◆ dst_roi_
Rect cv::detail::Blender::dst_roi_ |
|
protectedinherited |
The documentation for this class was generated from the following file:
- opencv2/stitching/detail/blenders.hpp