public class ObjectnessBING extends Objectness
| Modifier | Constructor and Description |
|---|---|
protected |
ObjectnessBING(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static ObjectnessBING |
__fromPtr__(long addr) |
boolean |
computeSaliency(Mat image,
Mat saliencyMap)
Compute the saliency
\param image The image.
|
static ObjectnessBING |
create() |
protected void |
finalize() |
double |
getBase() |
int |
getNSS() |
MatOfFloat |
getobjectnessValues()
Return the list of the rectangles' objectness value,
in the same order as the *vector<Vec4i> objectnessBoundingBox* returned by the algorithm (in
computeSaliencyImpl function).
|
int |
getW() |
void |
setBase(double val) |
void |
setBBResDir(String resultsDir)
This is a utility function that allows to set an arbitrary path in which the algorithm will save the
optional results
(ie writing on file the total number and the list of rectangles returned by objectess, one for
each row).
|
void |
setNSS(int val) |
void |
setTrainingPath(String trainingPath)
This is a utility function that allows to set the correct path from which the algorithm will load
the trained model.
|
void |
setW(int val) |
clear, empty, getDefaultName, getNativeObjAddr, savepublic static ObjectnessBING __fromPtr__(long addr)
public static ObjectnessBING create()
public boolean computeSaliency(Mat image, Mat saliencyMap)
SaliencycomputeSaliency in class Saliencyimage - automatically generatedsaliencyMap - automatically generatedpublic MatOfFloat getobjectnessValues()
public void setTrainingPath(String trainingPath)
trainingPath - trained model pathpublic void setBBResDir(String resultsDir)
resultsDir - results' folder pathpublic double getBase()
public void setBase(double val)
public int getNSS()
public void setNSS(int val)
public int getW()
public void setW(int val)
protected void finalize()
throws Throwable
finalize in class ObjectnessThrowableCopyright © 2026. All rights reserved.