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