@Namespace(value="cv::saliency") @NoOffset @Properties(inherit=opencv_saliency.class) public class ObjectnessBING extends Objectness
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ObjectnessBING() |
ObjectnessBING(Algorithm pointer)
Downcast constructor.
|
ObjectnessBING(long size)
Native array allocator.
|
ObjectnessBING(Pointer p)
Pointer cast constructor.
|
ObjectnessBING(Saliency pointer)
Downcast 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 ObjectnessBING |
create() |
double |
getBase() |
int |
getNSS() |
FloatPointer |
getobjectnessValues()
\brief Return the list of the rectangles' objectness value,
|
ObjectnessBING |
getPointer(long i) |
int |
getW() |
ObjectnessBING |
position(long position) |
void |
read() |
void |
setBase(double val) |
void |
setBBResDir(BytePointer resultsDir)
\brief This is a utility function that allows to set an arbitrary path in which the algorithm will save the
optional results
|
void |
setBBResDir(String resultsDir) |
void |
setNSS(int val) |
void |
setTrainingPath(BytePointer trainingPath)
\brief This is a utility function that allows to set the correct path from which the algorithm will load
the trained model.
|
void |
setTrainingPath(String trainingPath) |
void |
setW(int val) |
void |
write() |
asSaliency, asSaliencyasAlgorithm, asAlgorithmclear, empty, getDefaultName, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic ObjectnessBING(Pointer p)
Pointer(Pointer).public ObjectnessBING(long size)
Pointer.position(long).public ObjectnessBING(Saliency pointer)
public ObjectnessBING(Algorithm pointer)
public ObjectnessBING()
public ObjectnessBING position(long position)
public ObjectnessBING getPointer(long i)
getPointer in class Algorithm@opencv_core.Ptr public static ObjectnessBING 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 read()
public void write()
@StdVector public FloatPointer getobjectnessValues()
in the same order as the *vector\
public void setTrainingPath(@opencv_core.Str BytePointer trainingPath)
trainingPath - trained model pathpublic void setTrainingPath(@opencv_core.Str String trainingPath)
public void setBBResDir(@opencv_core.Str BytePointer resultsDir)
(ie writing on file the total number and the list of rectangles returned by objectess, one for each row).
resultsDir - results' folder pathpublic void setBBResDir(@opencv_core.Str String resultsDir)
public double getBase()
public void setBase(double val)
public int getNSS()
public void setNSS(int val)
public int getW()
public void setW(int val)
Copyright © 2025. All rights reserved.