@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 ROIProportion
extends Object
implements org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.MBFImage>, FeatureVectorProvider<DoubleFV>
Basically returns the proportion of the image that can be considered interesting.
| Modifier and Type | Field and Description |
|---|---|
protected float |
alpha |
protected double |
roiProportion |
protected YehSaliency |
saliencyGenerator |
| Constructor and Description |
|---|
ROIProportion()
Construct with the default values
|
ROIProportion(float alpha)
Construct with the given alpha value, but use the defaults for the
YehSaliency estimator. |
ROIProportion(float saliencySigma,
float segmenterSigma,
float k,
int minSize,
float alpha)
Construct with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyseImage(org.openimaj.image.MBFImage image) |
DoubleFV |
getFeatureVector() |
protected YehSaliency saliencyGenerator
protected float alpha
protected double roiProportion
public ROIProportion()
public ROIProportion(float alpha)
YehSaliency estimator.alpha - the alpha value for determining the thresholdpublic ROIProportion(float saliencySigma, float segmenterSigma, float k, int minSize, float alpha)
saliencySigma - smoothing for the AchantaSaliency classsegmenterSigma - smoothing for FelzenszwalbHuttenlocherSegmenter.k - k value for FelzenszwalbHuttenlocherSegmenter.minSize - minimum region size for
FelzenszwalbHuttenlocherSegmenter.alpha - the alpha value for determining the thresholdpublic 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>