Class ObjectnessBING
- Namespace
- OpenCvSharp.Saliency
- Assembly
- OpenCvSharp.dll
Objectness saliency using the Binarized Normed Gradients (BING) algorithm.
public class ObjectnessBING : Algorithm, IDisposable
- Inheritance
-
ObjectnessBING
- Implements
- Inherited Members
Properties
- Base
Gets or sets the base value used internally by the BING algorithm.
- NSS
Gets or sets the NSS value.
- W
Gets or sets the W value.
Methods
- ComputeSaliency(InputArray, out Vec4i[])
Computes objectness proposals. The model files must be loaded via SetTrainingPath(string) before calling this method.
- Create()
Creates an ObjectnessBING instance.
- GetObjectnessValues()
Returns the objectness score for each bounding box in the order returned by ComputeSaliency(InputArray, out Vec4i[]). A larger value indicates a higher likelihood of being an object.
- Read(FileNode)
Reads algorithm parameters from a file storage.
- SetBBResDir(string)
Sets the directory path for writing optional output results.
- SetTrainingPath(string)
Sets the path to the trained model files required by the BING algorithm.
- Write(FileStorage)
Stores algorithm parameters in a file storage.