Package boofcv.alg.scene
Class HistogramScene
java.lang.Object
boofcv.alg.scene.HistogramScene
- All Implemented Interfaces:
Serializable
Histogram which represents the frequency of different types of words in a single image.
Typically used during scene classification.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
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)
-