@Namespace(value="cv::detail") public static class opencv_stitching.Blender extends Pointer
/** \brief Base class for all blenders.
Simple blender which puts one image over another
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
FEATHER
enum cv::detail::Blender::
|
static int |
MULTI_BAND
enum cv::detail::Blender::
|
static int |
NO
enum cv::detail::Blender::
|
| Constructor and Description |
|---|
opencv_stitching.Blender()
Default native constructor.
|
opencv_stitching.Blender(long size)
Native array allocator.
|
opencv_stitching.Blender(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
blend(opencv_core.Mat dst,
opencv_core.Mat dst_mask)
\brief Blends and returns the final pano.
|
static opencv_stitching.Blender |
createDefault(int type) |
static opencv_stitching.Blender |
createDefault(int type,
boolean try_gpu) |
void |
feed(opencv_core.Mat img,
opencv_core.Mat mask,
opencv_core.Point tl)
\brief Processes the image.
|
opencv_stitching.Blender |
position(long position) |
void |
prepare(opencv_core.PointVector corners,
opencv_core.SizeVector sizes)
\brief Prepares the blender for blending.
|
void |
prepare(opencv_core.Rect dst_roi)
\overload
|
address, asBuffer, asByteBuffer, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic static final int NO
public static final int FEATHER
public static final int MULTI_BAND
public opencv_stitching.Blender()
public opencv_stitching.Blender(long size)
Pointer.position(long).public opencv_stitching.Blender(Pointer p)
Pointer.Pointer(Pointer).public opencv_stitching.Blender position(long position)
@opencv_core.Ptr public static opencv_stitching.Blender createDefault(int type, @Cast(value="bool") boolean try_gpu)
@opencv_core.Ptr public static opencv_stitching.Blender createDefault(int type)
public void prepare(@Const@ByRef opencv_core.PointVector corners, @Const@ByRef opencv_core.SizeVector sizes)
corners - Source images top-left cornerssizes - Source image sizespublic void prepare(@ByVal opencv_core.Rect dst_roi)
public void feed(@ByVal opencv_core.Mat img, @ByVal opencv_core.Mat mask, @ByVal opencv_core.Point tl)
img - Source imagemask - Source image masktl - Source image top-left cornerspublic void blend(@ByVal opencv_core.Mat dst, @ByVal opencv_core.Mat dst_mask)
dst - Final panodst_mask - Final pano maskCopyright © 2016. All rights reserved.