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