|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.logging.AbstractLoggable 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.
Field Summary | |
---|---|
static OptionID |
BINSPERPLANE_ID
OptionID for BINSPERPLANE_PARAM |
private IntListParameter |
BINSPERPLANE_PARAM
Parameter that specifies the number of bins (per plane) to use. |
private static List<ParameterConstraint<List<Integer>>> |
bppConstraints
Parameter list constraints. |
(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. |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug, logger |
Constructor Summary | |
---|---|
ComputeHSBColorHistogram(Parameterization config)
Constructor, adhering to Parameterizable |
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 de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning |
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
BINSPERPLANE_PARAM
private static final List<ParameterConstraint<List<Integer>>> bppConstraints
private final IntListParameter BINSPERPLANE_PARAM
Key: -rgbhist.bpp
int quanth
int quants
int quantb
Constructor Detail |
---|
public ComputeHSBColorHistogram(Parameterization config)
Parameterizable
config
- ParameterizationMethod 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 |