@Reference(type=Inproceedings,author={"Luo, Yiwen","Tang, Xiaoou"},title="Photo and Video Quality Evaluation: Focusing on the Subject",year="2008",booktitle="Proceedings of the 10th European Conference on Computer Vision: Part III",pages={"386","399"},url="http://dx.doi.org/10.1007/978-3-540-88690-7_29",publisher="Springer-Verlag",series="ECCV \'08",customData={"isbn","978-3-540-88689-1","location","Marseille, France","numpages","14","doi","10.1007/978-3-540-88690-7_29","acmid","1478204","address","Berlin, Heidelberg"}) @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 ModifiedLuoSimplicity extends Object implements ImageAnalyser<MBFImage>, FeatureVectorProvider<DoubleFV>
Algorithm based on that proposed by Yiwen Luo and Xiaoou Tang, but modified to use the foreground detection approach suggested in Che-Hua Yeh et al.
Modifier and Type | Field and Description |
---|---|
protected float |
alpha |
protected int |
binsPerBand |
protected boolean |
boxMode |
protected YehSaliency |
extractor |
protected float |
gamma |
protected double |
simplicity |
Constructor and Description |
---|
ModifiedLuoSimplicity()
Construct with the default values
|
ModifiedLuoSimplicity(int binsPerBand,
float gamma,
boolean boxMode,
float alpha,
float saliencySigma,
float segmenterSigma,
float k,
int minSize)
Construct with the given values
|
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(MBFImage image)
Analyse an image.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
protected YehSaliency extractor
protected float alpha
protected int binsPerBand
protected float gamma
protected boolean boxMode
protected double simplicity
public ModifiedLuoSimplicity()
public ModifiedLuoSimplicity(int binsPerBand, float gamma, boolean boxMode, float alpha, float saliencySigma, float segmenterSigma, float k, int minSize)
binsPerBand
- the number of histogram bins per colour bandgamma
- the gamma value for determining the thresholdboxMode
- whether to extract rectangular boxes for the foreground
regions (true) or to just use the pixels (false)alpha
- the alpha value for determining the foreground/background
thresholdsaliencySigma
- smoothing for the AchantaSaliency
classsegmenterSigma
- smoothing for FelzenszwalbHuttenlocherSegmenter
.k
- k value for FelzenszwalbHuttenlocherSegmenter
.minSize
- minimum region size for
FelzenszwalbHuttenlocherSegmenter
.public void analyseImage(MBFImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<MBFImage>
image
- The image to process in place.public DoubleFV getFeatureVector()
FeatureVectorProvider
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>