@Namespace(value="cv::detail")
public static class opencv_stitching.Blender
extends org.bytedeco.javacpp.Pointer
/** \brief Base class for all blenders.
Simple blender which puts one image over another
| 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 |
|---|
Blender()
Default native constructor.
|
Blender(long size)
Native array allocator.
|
Blender(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
blend(opencv_core.GpuMat dst,
opencv_core.GpuMat dst_mask) |
void |
blend(opencv_core.Mat dst,
opencv_core.Mat dst_mask)
\brief Blends and returns the final pano.
|
void |
blend(opencv_core.UMat dst,
opencv_core.UMat dst_mask) |
static opencv_stitching.Blender |
createDefault(int type) |
static opencv_stitching.Blender |
createDefault(int type,
boolean try_gpu) |
void |
feed(opencv_core.GpuMat img,
opencv_core.GpuMat mask,
opencv_core.Point tl) |
void |
feed(opencv_core.Mat img,
opencv_core.Mat mask,
opencv_core.Point tl)
\brief Processes the image.
|
void |
feed(opencv_core.UMat img,
opencv_core.UMat mask,
opencv_core.Point tl) |
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, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int NO
public static final int FEATHER
public static final int MULTI_BAND
public Blender()
public Blender(long size)
Pointer.position(long).public Blender(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public opencv_stitching.Blender position(long position)
position in class org.bytedeco.javacpp.Pointer@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 feed(@ByVal
opencv_core.UMat img,
@ByVal
opencv_core.UMat mask,
@ByVal
opencv_core.Point tl)
public void feed(@ByVal
opencv_core.GpuMat img,
@ByVal
opencv_core.GpuMat mask,
@ByVal
opencv_core.Point tl)
public void blend(@ByVal
opencv_core.Mat dst,
@ByVal
opencv_core.Mat dst_mask)
dst - Final panodst_mask - Final pano maskpublic void blend(@ByVal
opencv_core.UMat dst,
@ByVal
opencv_core.UMat dst_mask)
public void blend(@ByVal
opencv_core.GpuMat dst,
@ByVal
opencv_core.GpuMat dst_mask)
Copyright © 2018. All rights reserved.