@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 LuoTangSubjectRegion
extends Object
implements SaliencyMapGenerator<org.openimaj.image.FImage>
Algorithm based on: Yiwen Luo and Xiaoou Tang. 2008. Photo and Video Quality Evaluation: Focusing on the Subject. In Proceedings of the 10th European Conference on Computer Vision: Part III (ECCV '08), David Forsyth, Philip Torr, and Andrew Zisserman (Eds.). Springer-Verlag, Berlin, Heidelberg, 386-399. DOI=10.1007/978-3-540-88690-7_29 http://dx.doi.org/10.1007/978-3-540-88690-7_29
Note that this is not scale invariant - you will get different results with different sized images...
| Constructor and Description |
|---|
LuoTangSubjectRegion()
Construct with default values for the
DepthOfFieldEstimator
and an alpha parameter of 0.9. |
LuoTangSubjectRegion(float alpha,
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) |
org.openimaj.math.geometry.shape.Rectangle |
calculateROI() |
org.openimaj.image.FImage |
getROIMap() |
org.openimaj.image.FImage |
getSaliencyMap()
Get the generated saliency map
|
public LuoTangSubjectRegion()
DepthOfFieldEstimator
and an alpha parameter of 0.9.public LuoTangSubjectRegion(float alpha, int maxKernelSize, int kernelSizeStep, int nbins, int windowSize)
alpha - the alpha value.maxKernelSize - Maximum kernel size for the DepthOfFieldEstimator.kernelSizeStep - Kernel step size for the DepthOfFieldEstimator.nbins - Number of bins for the DepthOfFieldEstimator.windowSize - window size for the DepthOfFieldEstimator.public void analyseImage(org.openimaj.image.FImage image)
analyseImage in interface org.openimaj.image.analyser.ImageAnalyser<org.openimaj.image.FImage>public org.openimaj.math.geometry.shape.Rectangle calculateROI()
public org.openimaj.image.FImage getSaliencyMap()
SaliencyMapGeneratorgetSaliencyMap in interface SaliencyMapGenerator<org.openimaj.image.FImage>public org.openimaj.image.FImage getROIMap()