@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"})
public class DepthOfFieldEstimator
extends Object
implements SaliencyMapGenerator<org.openimaj.image.FImage>
| Modifier and Type | Field and Description |
|---|---|
protected int |
kernelSizeStep |
protected int |
maxKernelSize |
protected int |
nbins |
protected int |
windowSize |
protected float[][] |
xHistograms |
protected float[][] |
yHistograms |
| Constructor and Description |
|---|
DepthOfFieldEstimator()
Construct with the default values (max kernel size = 50, step size = 1,
41 bins, window size of 3).
|
DepthOfFieldEstimator(int maxKernelSize,
int kernelSizeStep,
int nbins,
int windowSize)
Construct with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyseImage(org.openimaj.image.FImage image) |
protected void |
clearHistograms() |
org.openimaj.image.FImage |
getSaliencyMap()
Get the generated saliency map
|
protected int maxKernelSize
protected int kernelSizeStep
protected int nbins
protected int windowSize
protected float[][] xHistograms
protected float[][] yHistograms
public DepthOfFieldEstimator(int maxKernelSize, int kernelSizeStep, int nbins, int windowSize)
maxKernelSize - Maximum kernel size.kernelSizeStep - Kernel step size.nbins - Number of bins.windowSize - window size.public DepthOfFieldEstimator()
protected void clearHistograms()
public void analyseImage(org.openimaj.image.FImage image)
analyseImage in interface org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.FImage>public org.openimaj.image.FImage getSaliencyMap()
SaliencyMapGeneratorgetSaliencyMap in interface SaliencyMapGenerator<org.openimaj.image.FImage>