Class HistogramScene

java.lang.Object
boofcv.alg.scene.HistogramScene
All Implemented Interfaces:
Serializable

public class HistogramScene extends Object implements Serializable
Histogram which represents the frequency of different types of words in a single image. Typically used during scene classification.
See Also:
  • Field Details

    • histogram

      public double[] histogram
      Normalized word frequency histogram. Normalized so that it sums up to 1.
    • type

      public int type
      The type of scene the image was representative of
  • Constructor Details

    • HistogramScene

      public HistogramScene(int numWords)
    • HistogramScene

      public HistogramScene()
  • Method Details

    • setHistogram

      public void setHistogram(double[] original)
    • getHistogram

      public double[] getHistogram()
    • getType

      public int getType()
    • setType

      public void setType(int type)