Class ObjectnessBING


public class ObjectnessBING extends Objectness
the Binarized normed gradients algorithm from CITE: BING
  • Constructor Details

    • ObjectnessBING

      protected ObjectnessBING(long addr)
  • Method Details

    • __fromPtr__

      public static ObjectnessBING __fromPtr__(long addr)
    • create

      public static ObjectnessBING create()
    • computeSaliency

      public boolean computeSaliency(Mat image, Mat saliencyMap)
      Description copied from class: Saliency
      Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
      Overrides:
      computeSaliency in class Saliency
      Parameters:
      image - automatically generated
      saliencyMap - automatically generated
      Returns:
      automatically generated
    • getobjectnessValues

      public 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). The bigger value these scores are, it is more likely to be an object window.
      Returns:
      automatically generated
    • setTrainingPath

      public 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.
      Parameters:
      trainingPath - trained model path
    • setBBResDir

      public 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).
      Parameters:
      resultsDir - results' folder path
    • getBase

      public double getBase()
    • setBase

      public void setBase(double val)
    • getNSS

      public int getNSS()
    • setNSS

      public void setNSS(int val)
    • getW

      public int getW()
    • setW

      public void setW(int val)