@Reference(type=Inproceedings, author={"Hasler, David","S\\\"{u}sstrunk, Sabine"}, title="Measuring {C}olourfulness in {N}atural {I}mages", year="2003", booktitle="Proc. {IS}&{T}/{SPIE} {E}lectronic {I}maging 2003: {H}uman {V}ision and {E}lectronic {I}maging {VIII}", pages={"87","","95"}, volume="5007", url="http://infoscience.epfl.ch/record/33994/files/HaslerS03.pdf?version=1", customData={"details","http://infoscience.epfl.ch/record/33994","documenturl","http://infoscience.epfl.ch/record/33994/files/HaslerS03.pdf","doi","10.1117/12.477378","keywords","IVRG; colorfulness; image quality; image attributes; colourfulness","location","San Jose, CA","oai-id","oai:infoscience.epfl.ch:33994","oai-set","conf; fulltext; fulltext-public","review","NON-REVIEWED","status","PUBLISHED","unit","LCAV IVRG"}) public class Colorfulness extends Object implements PixelAnalyser<Float[]>, FeatureVectorProvider<DoubleFV>
| Modifier and Type | Class and Description |
|---|---|
static class |
Colorfulness.ColorfulnessAttr
Classes of colourfulness
|
| Constructor and Description |
|---|
Colorfulness() |
| Modifier and Type | Method and Description |
|---|---|
void |
analysePixel(Float[] pixel)
Analyse the given pixel.
|
double |
getColorfulness() |
Colorfulness.ColorfulnessAttr |
getColorfulnessAttribute() |
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
void |
reset()
Reset the
PixelAnalyser. |
public Colorfulness()
public void analysePixel(Float[] pixel)
PixelAnalyseranalysePixel in interface PixelAnalyser<Float[]>pixel - The pixel to analyse.public Colorfulness.ColorfulnessAttr getColorfulnessAttribute()
public double getColorfulness()
public DoubleFV getFeatureVector()
FeatureVectorProvidergetFeatureVector in interface FeatureVectorProvider<DoubleFV>public void reset()
PixelAnalyserPixelAnalyser. Called every time a new image is
analysed in Image.analyseWith(PixelAnalyser) and
Image.analyseWithMasked(org.openimaj.image.FImage, PixelAnalyser)
.reset in interface PixelAnalyser<Float[]>