@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 YehBokehEstimator
extends Object
implements org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.FImage>, FeatureVectorProvider<DoubleFV>
| Constructor and Description |
|---|
YehBokehEstimator()
Construct with defaults: 5x5 blocks, variance threshold of 0.1, sharpness
threshold of 0.5, lower bound of 0.3, upper bound of 0.7
|
YehBokehEstimator(int nBlocksX,
int nBlocksY,
float varThreshold,
float sharpnessThreshold,
float lowerBound,
float upperBound)
Construct with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyseImage(org.openimaj.image.FImage image) |
DoubleFV |
getFeatureVector() |
public YehBokehEstimator()
public YehBokehEstimator(int nBlocksX, int nBlocksY, float varThreshold, float sharpnessThreshold, float lowerBound, float upperBound)
nBlocksX - number of blocks in the x-directionnBlocksY - number of blocks in the y-directionvarThreshold - threshold for the variancesharpnessThreshold - threshold for the sharpnesslowerBound - lower bound on Qbokeh for bokeh to be detectedupperBound - upper bound on Qbokeh for bokeh to be detectedpublic DoubleFV getFeatureVector()
getFeatureVector in interface FeatureVectorProvider<DoubleFV>public void analyseImage(org.openimaj.image.FImage image)
analyseImage in interface org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.FImage>