@Namespace(value="cv::saliency") @NoOffset public static class opencv_saliency.ObjectnessBING extends opencv_saliency.Objectness
| Constructor and Description |
|---|
ObjectnessBING() |
ObjectnessBING(long size)
Native array allocator.
|
ObjectnessBING(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
computeSaliency(opencv_core.GpuMat image,
opencv_core.GpuMat saliencyMap) |
boolean |
computeSaliency(opencv_core.Mat image,
opencv_core.Mat saliencyMap)
\brief Compute the saliency
|
boolean |
computeSaliency(opencv_core.UMat image,
opencv_core.UMat saliencyMap) |
static opencv_saliency.ObjectnessBING |
create() |
double |
getBase() |
int |
getNSS() |
org.bytedeco.javacpp.FloatPointer |
getobjectnessValues()
\brief Return the list of the rectangles' objectness value,
|
int |
getW() |
opencv_saliency.ObjectnessBING |
position(long position) |
void |
read() |
void |
setBase(double val) |
void |
setBBResDir(org.bytedeco.javacpp.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(org.bytedeco.javacpp.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() |
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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic ObjectnessBING(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public ObjectnessBING(long size)
Pointer.position(long).public ObjectnessBING()
public opencv_saliency.ObjectnessBING position(long position)
position in class opencv_core.Algorithm@opencv_core.Ptr public static opencv_saliency.ObjectnessBING create()
@Cast(value="bool")
public boolean computeSaliency(@ByVal
opencv_core.Mat image,
@ByVal
opencv_core.Mat saliencyMap)
opencv_saliency.SaliencycomputeSaliency in class opencv_saliency.Saliencyimage - The image.saliencyMap - The computed saliency map.@Cast(value="bool")
public boolean computeSaliency(@ByVal
opencv_core.UMat image,
@ByVal
opencv_core.UMat saliencyMap)
computeSaliency in class opencv_saliency.Saliency@Cast(value="bool")
public boolean computeSaliency(@ByVal
opencv_core.GpuMat image,
@ByVal
opencv_core.GpuMat saliencyMap)
computeSaliency in class opencv_saliency.Saliencypublic void read()
public void write()
@StdVector public org.bytedeco.javacpp.FloatPointer getobjectnessValues()
in the same order as the *vector\
public void setTrainingPath(@opencv_core.Str org.bytedeco.javacpp.BytePointer trainingPath)
trainingPath - trained model pathpublic void setTrainingPath(@opencv_core.Str String trainingPath)
public void setBBResDir(@opencv_core.Str org.bytedeco.javacpp.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 © 2018. All rights reserved.