|
OpenCV for Unity 3.0.2
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.13.0/index.html ) for the details of the argument of the method.
|
the Binarized normed gradients algorithm from [BING] More...
Public Member Functions | |
| override bool | computeSaliency (Mat image, Mat saliencyMap) |
| Compute the saliency. | |
| double | getBase () |
| int | getNSS () |
| MatOfFloat | getobjectnessValues () |
| Return the list of the rectangles' objectness value,. | |
| 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. | |
| 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) |
Public Member Functions inherited from OpenCVForUnity.SaliencyModule.Saliency | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| virtual void | clear () |
| Clears the algorithm state. | |
| virtual bool | empty () |
| Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
| virtual string | getDefaultName () |
| IntPtr | getNativeObjAddr () |
| void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| void | Dispose () |
| void | ThrowIfDisposed () |
Static Public Member Functions | |
| static new ObjectnessBING | __fromPtr__ (IntPtr addr) |
| static ObjectnessBING | create () |
Static Public Member Functions inherited from OpenCVForUnity.SaliencyModule.Objectness | |
| static new Objectness | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.SaliencyModule.Saliency | |
| static new Saliency | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
| static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
| static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.SaliencyModule.Objectness | |
Protected Member Functions inherited from OpenCVForUnity.SaliencyModule.Saliency | |
| override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
| DisposableOpenCVObject () | |
| DisposableOpenCVObject (bool isEnabledDispose) | |
| DisposableOpenCVObject (IntPtr ptr) | |
| DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
| DisposableObject () | |
| DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.SaliencyModule.Objectness | |
Package Functions inherited from OpenCVForUnity.SaliencyModule.Saliency | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
| bool | IsDisposed [get, protected set] |
| bool | IsEnabledDispose [get, set] |
the Binarized normed gradients algorithm from [BING]
|
static |
|
virtual |
Compute the saliency.
| image | The image. |
| saliencyMap | The computed saliency map. |
Reimplemented from OpenCVForUnity.SaliencyModule.Saliency.
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.SaliencyModule.Objectness.
| double OpenCVForUnity.SaliencyModule.ObjectnessBING.getBase | ( | ) |
| int OpenCVForUnity.SaliencyModule.ObjectnessBING.getNSS | ( | ) |
| MatOfFloat OpenCVForUnity.SaliencyModule.ObjectnessBING.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). The bigger value these scores are, it is more likely to be an object window.
| int OpenCVForUnity.SaliencyModule.ObjectnessBING.getW | ( | ) |
| void OpenCVForUnity.SaliencyModule.ObjectnessBING.setBase | ( | double | val | ) |
| void OpenCVForUnity.SaliencyModule.ObjectnessBING.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).
| resultsDir | results' folder path |
| void OpenCVForUnity.SaliencyModule.ObjectnessBING.setNSS | ( | int | val | ) |
| void OpenCVForUnity.SaliencyModule.ObjectnessBING.setTrainingPath | ( | string | trainingPath | ) |
This is a utility function that allows to set the correct path from which the algorithm will load the trained model.
| trainingPath | trained model path |
| void OpenCVForUnity.SaliencyModule.ObjectnessBING.setW | ( | int | val | ) |