Refined Measurement of Digital Image Texture Loss

Post on 21-Jun-2015

457 views 3 download

Tags:

description

Proc. SPIE Vol. 8653, Image Quality and System Performance X, 86530H, 2013

Transcript of Refined Measurement of Digital Image Texture Loss

Refined Measurement of Digital Image Texture Loss 

Peter D. BurnsBurns Digital Imaging

IS&T and SPIE Electronic Imaging Symposium, Jan. 2013

100 200 300 400 500

50

100

150

200

250

300

350

400

450

500

Reference:P.D. Burns, Refined Measurement of Digital Image Texture Loss, Proc. SPIE Vol. 8653, Image Quality and System Performance X, 86530H, 2013

2

Introduction

Texture-loss MTF using targets with random objects• Dead-leaves target analysis based on noise-power spectrum

Previously applied to image detail loss during; image capture, noise-cleaning, image compression

Method is based on noise-power spectrum (NPS) estimation

Practical measurement introduces random and bias estimation-error, e.g. non-stationary statistics

Common source can be corrected for, reducing measurement error

NPS, Texture MTF and computed acutance measures are improved

Acknowledgements: Uwe Artmann, Donald Baxter, Frédéric Cao, Herve Hornung, Norman Koren, Don Williams and Dietmar Wueller

3

Dead-Leaves MTF Measurement

Aimed at providing an effective MTF for image fluctuations (signals) influenced by adaptive or signal-dependent image processing

• e.g., adaptive noise cleaning, which could leave edge untouched, but reduce detail in important ‘textured regions’

Being developed as part of the CPIQ Initiative

Based on input and output Noise-power spectrum

filterednoisy

4

Texture MTF using Noise-power Spectrum*

Printed Test chart

Digital image

One-dimensional noise-power spectra

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5

102

103

104

Frquency, cy/mm

Pow

er S

pect

rum

Input target

JPEG 2000

Digital camera, image processing

____________________* Also called power spectral density

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.50

0.2

0.4

0.6

0.8

1

Frquency, cy/mm

MT

F txt

Texture MTF

5

Proposed method for camera evaluation (basic steps)

Acutancemetric

Camera under test

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.50

0.2

0.4

0.6

0.8

1

Frquency, cy/mm

MT

F txt

Compute or model input NPS

Texture MTF(NPSout/NPSin )0.5 MTFtxt

Printed target

Transform to luminance

Dead leavestarget

Digitalimage

Compute output NPS*

___________________________* Computed NPS includes 2D FFT

and radial integration

6

Noise-power Spectrum: meaning and measurement

• Noise-Power spectrum: for a random process, the NPS describes the fluctuations as a function of spatial frequency

Technically: Fourier transform of the spatial autocovariance

• Measurement: Average square of the Discrete Fourier Transform of a nominally uniform data array

Select data array

Compute2D FFT

Compute modulus squared

Basic steps for NPS estimation

1 or 2D

Vari

ance

/fre

quency

frequencyo

FineCoarse

7

Noise-power spectrum measurement

• Noise-power spectrum is a second-order parameter of a stochastic process

• NPS measurement is a statistical estimate that relies on stable (stationary) statistics

- constant mean and variance• Image nonuniformity (falloff) causes a bias error in

NPS estimates• Lens shading, lighting variation etc.

NPS error MTF error

8

Variance estimation bias

0 5 10 15 20 25 30 35 40 45 50-1.5

-1

-0.5

0

0.5

1

1.5

0 5 10 15 20 25 30 35 40 45 50-1.5

-1

-0.5

0

0.5

1

1.5

0 5 10 15 20 25 30 35 40 45 50-1.5

-1

-0.5

0

0.5

1

1.5

iii fxx 'Random signal plus trend

bias

N

iix f

NsE

1

222 1Biased variance estimate

0.43 0.23Standard deviation

large ,22 Ns Variance estimate

N

iix

Ns

1

22 1

N

iiii x

Nxx

1

1

9

Bias error and improving estimation

•Estimation error can be measured

•If sources are known, estimates can be improvedExamples; instrument calibration, seasonal adjustments

•Nonuniform mean value biases noise estimatesVariance, standard deviation, noise-power spectrum

•Objective: design improved NPS estimate that is simple and benign (does not over-compensate)

•Instead of subtracting the sample mean value, subtract a 2D plane (linear fit) function

2D surface fit

Subtractsurface

Compute NPS

10

Low-frequency NPS Bias

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5

10-5

10-4

10-3

10-2

Frequency, cy/pixel

Pow

er s

pect

rum

no detrending

2D linear

0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.50

0.005

0.01

0.015

Frequency, cy/pixel

Pow

er s

pect

rum

no detrending

2D linear

0.02 0.04 0.06 0.08 0.10

0.002

0.004

0.006

0.008

0.01

Frequency, cy/pixel

Pow

er s

pect

rum

2D surface fit

Subtractsurface

Compute NPS

Example for uniformStep noise field

11

Signal

100 200 300 400 500

50

100

150

200

250

300

350

400

450

500

100 200 300 400 500

50

100

150

200

250

300

350

400

450

500

100 200 300 400 500

50

100

150

200

250

300

350

400

450

500

After subtraction of 2d fit, plane, computed RMS noise reduced 7%

input

output

2D fit

12

Noise-corrected Texture NPS

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5

10-4

10-3

10-2

10-1

100

Frequency, cy/pixel

Pow

er S

pect

rum

Noise

Texture signal

Corrected

Noise-corrected dead leaves NPS, with and without 2D linear trend removal

0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2-15

-10

-5

0

5

10

15

Frequency, cy/pixel

NP

S %

diff

eren

ce

% difference due to detrending

13

Texture-MTF Results from Camera Testing

Mean relative error reduction (N=5 replicates) • All frequencies [0, 0.5 cy/pixel] 20%. • Low frequencies [0, 2.5 cy/pixel] 26%.

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.50

0.2

0.4

0.6

0.8

1

1.2

Frquency, cy/mm

MT

F txt

0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.50

0.2

0.4

0.6

0.8

1

1.2

Frquency, cy/mm

MT

F txt

no trend removal 2D-linear fit and subtraction

Final scaling was done at 0.02 cy/pixel

NPS error MTF error

14

Summary

1. Noise-power spectrum (NPS) is a (second-order) statistical measure

2. Measuring a statistic is estimation

3. Good estimation relies on stable (stationary) population statistics

4. Image nonuniformity leads to NPS bias (positive at low frequencies) and variation

5. Simple 2D detrending (subtract a plane rather than a sample mean value) reduces bias and variation in the NPS estimate.

6. This is a pre-processing step that can be done before NPS estimation

7. This leads to reduced estimation error in the texture MTF, which is computed from (is a function of) two NPS estimates

NPS error Texture MTF error

15

Conclusions

Proposed texture MTF analysis relies on noise-power spectrum (NPS) estimation

We investigated error introduced into NPS by non-stationary (mean) signal

Benign and simple correction two-dimensional by de-trending of image data array

Reduction in low-frequency bias and variation (20%)

pdburns@ieee.org

16

Mobile camera example (not presented at EI)

• Test image files from N. Koren• NPS estimation with and without detrending• Very little difference

Camera A

100 200 300 400 500

50

100

150

200

250

300

350

400

450

500

0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10

5

10

15

Frequency, cy/pixel

Pow

er s

pect

rum

no detrending

2D linear

Camera B

100 200 300 400 500

50

100

150

200

250

300

350

400

450

500

0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10

1

2

3

4

5

6

Frequency, cy/pixel

Pow

er s

pect

rum

no detrending

2D linear

17

Camera comparison by texture MTF

Effective texture MTF, camera A is the reference (input). Acutance = 0.73

0 0.1 0.2 0.3 0.4 0.5 0.60

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

Frquency, cy/mm

MT

F txt

0 0.1 0.2 0.3 0.4 0.5 0.6 0.710

-6

10-5

10-4

10-3

10-2

10-1

100

101

102

Frequency, cy/mm

NPS