@Namespace(value="cv::saliency") @NoOffset @Properties(inherit=opencv_saliency.class) public class MotionSaliencyBinWangApr2014 extends MotionSaliency
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
MotionSaliencyBinWangApr2014() |
MotionSaliencyBinWangApr2014(long size)
Native array allocator.
|
MotionSaliencyBinWangApr2014(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
computeSaliency(GpuMat image,
GpuMat saliencyMap) |
boolean |
computeSaliency(Mat image,
Mat saliencyMap)
\brief Compute the saliency
|
boolean |
computeSaliency(UMat image,
UMat saliencyMap) |
static MotionSaliencyBinWangApr2014 |
create() |
int |
getImageHeight() |
int |
getImageWidth() |
boolean |
init()
\brief This function allows the correct initialization of all data structures that will be used by the
algorithm.
|
MotionSaliencyBinWangApr2014 |
position(long position) |
void |
setImageHeight(int val) |
void |
setImagesize(int W,
int H)
\brief This is a utility function that allows to set the correct size (taken from the input image) in the
corresponding variables that will be used to size the data structures of the algorithm.
|
void |
setImageWidth(int val) |
clear, empty, getDefaultName, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic MotionSaliencyBinWangApr2014(Pointer p)
Pointer.Pointer(Pointer).public MotionSaliencyBinWangApr2014(long size)
Pointer.position(long).public MotionSaliencyBinWangApr2014()
public MotionSaliencyBinWangApr2014 position(long position)
@opencv_core.Ptr public static MotionSaliencyBinWangApr2014 create()
@Cast(value="bool") public boolean computeSaliency(@ByVal Mat image, @ByVal Mat saliencyMap)
SaliencycomputeSaliency in class Saliencyimage - The image.saliencyMap - The computed saliency map.@Cast(value="bool") public boolean computeSaliency(@ByVal UMat image, @ByVal UMat saliencyMap)
computeSaliency in class Saliency@Cast(value="bool") public boolean computeSaliency(@ByVal GpuMat image, @ByVal GpuMat saliencyMap)
computeSaliency in class Saliencypublic void setImagesize(int W,
int H)
W - width of input imageH - height of input image@Cast(value="bool") public boolean init()
public int getImageWidth()
public void setImageWidth(int val)
public int getImageHeight()
public void setImageHeight(int val)
Copyright © 2020. All rights reserved.