|
||||||||||
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.ComputeNaiveRGBColorHistogram
public class ComputeNaiveRGBColorHistogram
Compute a (rather naive) RGB color histogram.
Nested Class Summary | |
---|---|
static class |
ComputeNaiveRGBColorHistogram.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
static OptionID |
BINSPERPLANE_ID
Parameter that specifies the number of bins (per plane) to use. |
(package private) int |
quant
Number of bins in each dimension to use. |
Constructor Summary | |
---|---|
ComputeNaiveRGBColorHistogram(int quant)
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 quant
Constructor Detail |
---|
public ComputeNaiveRGBColorHistogram(int quant)
quant
- Number of bins to use.Method 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 |