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