Top Banner
Sharpness Estimation for Document and Scene Images Jayant Kumar, PhD Student, UMD Francine Chen, FXPAL David Doermann, UMD
20

Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

May 14, 2018

Download

Documents

trinhdat
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Sharpness Estimation for Document and Scene Images

Jayant Kumar, PhD Student, UMD

Francine Chen, FXPAL

David Doermann, UMD

Page 2: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Vision

OCR engine

Poor accuracy

Poor readability

Tilt, Scale, Lighting, Blur

Page 3: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Sharpness Estimation

• Measure of best in-focus image

• Measure of how sharp details (like edge) are preserved

> >

Page 4: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Automatic creation of photo-books

Select the least blurry of several similar images

Images can be scaled so that blurrier images are smaller (hence look nicer!)

Page 5: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Real-time Feedback for better Capture

Sharpness score

User can adjust camera for better sharpness

Page 6: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Causes of Blur

(a) (b)

(c) (d)

Focal blur Focal blur

Motion blur Blur due to limited depth-of-field

Page 7: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Limitations of Previous Work

• Assumption on good Edge-detection

• Offset in Gradient Computation [Batten 2000]

• Poor time-performance (DCT Coefficients in blocks [Brandao et

al. 2008, JNB, CPBD]

• Blur-width quantized as number of pixels – Just-Noticeable-Blur (JNB) [Ferzli et al. 2009], Cumulative probability of blur detection (CPBD)

[Narvekar and Karam 2011]

• Dependence on image content – Qmetric [Zhu et al. 2010]

Page 8: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Sharpness as Edge-width?

Many previous approaches rely on edge-width for sharpness estimation1,2

1. R. Ferzli and L. Karam. A no-reference objective image sharpness metric based on the notion of just noticeable blur (JNB). IEEE Transactions on Image Processing, 2009.

2. N. Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur detection (CPBD). IEEE Transactions on Image Processing, 2011.

These measures are somewhat coarse for document images composed of sharp edges with high contrast and frequent transition between back-ground/foreground

Page 9: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Ideal Sharpness Measure

• Correlates well with human perceived quality of sharpness

• Works for images from different domains: scenes, objects, and documents

• Images of same scene/document as well as across images of different scenes/documents

• Indicative of OCR accuracy for document images

• Fast enough to compute as a pre-processing step in many applications

Page 10: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Proposed Sharpness Measure

∑|∆DOM|

∑|∆I| > T sharp

blur ∑|∆DOM|

∑|∆I| < T

Rx = NsharpX

NedgeX

Ry =

NsharpY

NedgeY

Rx + Ry 2 2 √ ( ) SI

=

Median-filtered image

Page 11: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

∆DOM model

∆DOMx(i, j) Im(i+2, j) Im(i,j) [ ] - Im(i, j) Im(i, j-2) [ ] - - =

Im = Median filtered image Median filtering smooth variations due to noise while preserving edges

Underlying edge is non-linear and can be modeled by a non-parametric model, such as the difference of differences that can model changes in the direction of a line.

From this model we derive a measure that captures whether the slope changes quickly, a characteristic of sharp edges.

edge-width

Page 12: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Why ∆DOM works ?

Page 13: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Datasets

• Document Image Sharpness Dataset (DocSharp)

– Pages taken from magazines, technical articles etc.

– 27 sets of 5 images each (135 images)

– Mechanical Turk for pair-wise comparisons

– 20-25 judgments for each pair

• Scene Images

– LIVE dataset1: Gaussian-blurred subset of 174 images

– CSIQ dataset2: Gaussian-blurred subset of 150 images

1: H. R. Sheikh, Z. Wang, L. Cormack, and A. C. Bovik. Live image quality assessment database release 2. In http://live.ece.utexas.edu/research/quality, 2006.

2: E. C. Larson and D. M. Chandler. Most apparent distortion: full reference image quality assessment and the role of strategy. Journal of Electronic Imaging, 19(1), 2010.

Page 14: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Evaluation

• Spearman Rank Correlation between ∆DOM sharpness measure and perceived sharpness (MOS/DMOS* scores and ranked pair-wise judgments)

• Accuracy on pair-wise judgments

• Time performance

• Comparisons with JNB, CPBD and Q

*MOS: Mean opinion score

*DMOS: Difference in mean opinion score

Page 15: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Spearman Correlation

Paired t-test for DocSharp:

∆DOM is the only measure that performs well on both document and scene images

Page 16: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Computation Time

JNB CPBD Q ∆DOM

DocSharp 33.63 55.46 12.36 3.91

LIVE 2.25 1.05 0.88 0.27

CSIQ 1.71 0.68 0.66 0.26

*Tested on Android for real-time sharpness on preview frames

Page 17: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Comparison with CPBD and JNB

JNB CPBD ΔDOM

(a) 0.84 0.71 0.78

(b) 1.03 0.59 0.174

(c) 1.35 0.76 0.17

(a)

(b)

(c)

Page 18: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Comparison with Q measure

Page 19: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Comparison with other methods

JNB CPBD Q Proposed

Human Perception of Scene Images

Human Perception of Document Images

Images of same object/document

Images of different objects/documents

Computation time

Page 20: Sharpness Estimation for Document and Scene Imagesjayant/ICPR_sharpness.pdf · Narvekar and L. Karam. A no-reference image blur metric based on the cumulative probability of blur

Conclusion

• Proposed a method for sharpness estimation in document and scene images

• Much faster than previous methods

• Works for same as well as different images