public class HueStats extends org.openimaj.image.mask.AbstractMaskedObject<org.openimaj.image.FImage> implements org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.MBFImage>, FeatureVectorProvider<DoubleFV>
| Modifier and Type | Class and Description |
|---|---|
static class |
HueStats.ToneAttr
Tonal attributes for images based on the mean hue and variance.
|
| Constructor and Description |
|---|
HueStats()
Construct with no mask set
|
HueStats(org.openimaj.image.FImage mask)
Construct with a mask.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyseImage(org.openimaj.image.MBFImage image) |
DoubleFV |
getFeatureVector() |
double |
getHueVariance()
Get the variance in hue value.
|
double |
getMeanHue()
Get the mean hue value.
|
HueStats.ToneAttr |
getTone()
Estimate the tone of the image.
|
public HueStats()
public HueStats(org.openimaj.image.FImage mask)
mask - the mask.public void analyseImage(org.openimaj.image.MBFImage image)
analyseImage in interface org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.MBFImage>public double getMeanHue()
public double getHueVariance()
public HueStats.ToneAttr getTone()
HueStats.ToneAttr.getAttr(double, double)public DoubleFV getFeatureVector()
getFeatureVector in interface FeatureVectorProvider<DoubleFV>