@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 ImageAnalyser<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(MBFImage image)
Analyse an image.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
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()
FeatureVectorProvider
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>
public void analyseImage(MBFImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<MBFImage>
image
- The image to process in place.