Package boofcv.alg.scene
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:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description HistogramScene()
HistogramScene(int numWords)
-
Method Summary
Modifier and Type Method Description double[]
getHistogram()
int
getType()
void
setHistogram(double[] original)
void
setType(int type)
-
Field Details
-
histogram
public double[] histogramNormalized word frequency histogram. Normalized so that it sums up to 1. -
type
public int typeThe 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)
-