|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.data.images.AbstractComputeColorHistogram de.lmu.ifi.dbs.elki.data.images.ComputeHSBColorHistogram
public class ComputeHSBColorHistogram
Compute color histograms in a Hue-Saturation-Brightness model.
Nested Class Summary | |
---|---|
static class |
ComputeHSBColorHistogram.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
static OptionID |
BINSPERPLANE_ID
Parameter that specifies the number of bins (per plane) to use. |
(package private) int |
quantb
Number of bins in brightness to use. |
(package private) int |
quanth
Number of bins in hue to use. |
(package private) int |
quants
Number of bins in saturation to use. |
Constructor Summary | |
---|---|
ComputeHSBColorHistogram(int quanth,
int quants,
int quantb)
Constructor. |
Method Summary | |
---|---|
protected int |
getBinForColor(int rgb)
Compute the bin number from a pixel color value. |
protected int |
getNumBins()
Get the number of bins. |
Methods inherited from class de.lmu.ifi.dbs.elki.data.images.AbstractComputeColorHistogram |
---|
computeColorHistogram |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final OptionID BINSPERPLANE_ID
Key: -rgbhist.bpp
int quanth
int quants
int quantb
Constructor Detail |
---|
public ComputeHSBColorHistogram(int quanth, int quants, int quantb)
quanth
- Hue binsquants
- Saturation binsquantb
- Brightness binsMethod Detail |
---|
protected int getBinForColor(int rgb)
AbstractComputeColorHistogram
getBinForColor
in class AbstractComputeColorHistogram
rgb
- Pixel color value
protected int getNumBins()
AbstractComputeColorHistogram
getNumBins
in class AbstractComputeColorHistogram
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |