@Reference(type=Inproceedings,
author={"Che-Hua Yeh","Yuan-Chen Ho","Brian A. Barsky","Ming Ouhyoung"},
title="Personalized Photograph Ranking and Selection System",
year="2010",
booktitle="Proceedings of ACM Multimedia",
pages={"211","220"},
month="October",
customData={"location","Florence, Italy"})
public class ColourContrast
extends Object
implements org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.MBFImage>, FeatureVectorProvider<DoubleFV>
The feature is calculated by performing a weighted average of the average colour difference of all the segments in the image.
| Constructor and Description |
|---|
ColourContrast()
Construct the
ColourContrast feature extractor using the default
settings for the FelzenszwalbHuttenlocherSegmenter. |
ColourContrast(float sigma,
float k,
int minSize)
Construct the
ColourContrast feature extractor with the given
parameters for the underlying FelzenszwalbHuttenlocherSegmenter. |
| Modifier and Type | Method and Description |
|---|---|
void |
analyseImage(org.openimaj.image.MBFImage image) |
DoubleFV |
getFeatureVector() |
public ColourContrast()
ColourContrast feature extractor using the default
settings for the FelzenszwalbHuttenlocherSegmenter.public ColourContrast(float sigma, float k, int minSize)
ColourContrast feature extractor with the given
parameters for the underlying FelzenszwalbHuttenlocherSegmenter.sigma - amount of blurringk - thresholdminSize - minimum allowed component sizepublic DoubleFV getFeatureVector()
getFeatureVector in interface FeatureVectorProvider<DoubleFV>public void analyseImage(org.openimaj.image.MBFImage image)
analyseImage in interface org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.MBFImage>