Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May...

32
Modeling the Histogram Modeling the Histogram of the Halftone Image of the Halftone Image to Determine the Area to Determine the Area Fraction of Ink Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan

Transcript of Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May...

Page 1: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Modeling the Histogram of Modeling the Histogram of the Halftone Image to the Halftone Image to Determine the Area Determine the Area

Fraction of InkFraction of Ink

Yat-Ming WongMay 8,1998

Advisor: Dr. Jonathan Arney

Page 2: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

BackgroundBackground

Drawing useful information from an image is important in various fields that depend upon them

Tools used to interpret an image need to be good enough to give meaningful data

Page 3: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

HistogramHistogram

The histogram is a tool that gives a graphical interpretation of an image

It give us an idea of the make up of the image, such as the amount of ink in its composition

Page 4: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

HistogramHistogram

The image is read pixel by pixel for their reflectance values

R1,9 = 0.1

R7,10 = 0.9

Page 5: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

HistogramHistogram

0

2000

4000

6000

8000

10000

12000

0 0.2 0.4 0.6 0.8 1

Reflectance

Freq

uenc

y

Page 6: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Histogram of halftone dotsHistogram of halftone dots

0

2000

4000

6000

8000

10000

12000

0 0.2 0.4 0.6 0.8 1

Reflectance

Frequency

-

0

2000

4000

6000

8000

10000

12000

0 0.2 0.4 0.6 0.8 1

Reflectance

Frequency

-

Ink Population

PaperPopulation

Page 7: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

HistogramHistogram

Segmentation of the histogram has so far been done by visual approximation

Visual approximation is a highly inaccurate method of measurement in cases where data needs to be in significant figures

Page 8: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

ThresholdThreshold

0

2000

4000

6000

8000

10000

12000

0 0.2 0.4 0.6 0.8 1

Reflectance

Freq

uenc

y Threshold, RT (?)

Page 9: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

SolutionSolution

Models to segment histogram computationally:

Gaussian Model

Straight-Edge Model

Page 10: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Gaussian ModelGaussian Model

Reflectance

G1 G2

G1+G2

Page 11: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Gaussian ModelGaussian Model

G1( ) [ /( )]*exp[ ( ) / ]R R R 1 2 21 1

212

G2( ) [ /( )]*exp[ ( ) / ]R R R 1 2 22 2

222

+

Page 12: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Gaussian ModelGaussian Model

f(i) = F*G1(R) + (1-F)*G2(R)

R1 R2

1 2

F 1-F

REFLECTANCE

G1+G2

Page 13: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Sum of two gaussians vs. offset lithographic print dataSum of two gaussians vs. offset lithographic print data

PROBLEM

REFLECTANCE

G1+G2

Data

Page 14: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Sum of two gaussians vs. inkjet “stochastic halftone” dataSum of two gaussians vs. inkjet “stochastic halftone” data

REFLECTANCE

G1+G2

Data

PROBLEM

Page 15: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Straight Edge ModelStraight Edge Model

Halftone dots are a collection of edges

Page 16: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Straight Edge ModelStraight Edge Model

Model of the Halftone Reflection Distribution as a Single “Equivalent Edge”

H

R

Page 17: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Model the Halftone “Equivalent EdgeModel the Halftone “Equivalent Edge

Vary F

H

R

Page 18: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Model the Halftone “Equivalent Edge”Model the Halftone “Equivalent Edge”

H

Change Rmin or Rmax

R

Page 19: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Model the Halftone “Equivalent Edge”Model the Halftone “Equivalent Edge”

x scan

R

x

1

10

0

RR R

a x FR

max minminexp{ ( )}1

where:

Page 20: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

R

x

1

10

0

RR R

a x FR

max minminexp{ ( )}1

The Model

H RdR

dx( )

1H

R0 1

Page 21: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

The Noise Model

-0.1 0.1R

S(R)

Add A Noise Metric Assume A Reflectance Variation

S RR

( ) exp

1

2 2

2

2

Page 22: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

S RR

( ) exp

1

2 2

2

2 h RdR

dx( )

1

H

R0 1

*S(R)

The Noise Model

R

Page 23: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Straight Edge ModelStraight Edge Model

Rmin Rmax

F

1-F

a

Page 24: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Straight edge model vs. offset lithographic print dataStraight edge model vs. offset lithographic print data

H(R)

R0 0.2 0.4 0.60

0.02

0.04

0.06

0.08

Page 25: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Straight edge model vs. inkjet “stochastic halftone” dataStraight edge model vs. inkjet “stochastic halftone” data

0.1 0.2 0.3 0.4 0.5 0.60

0.01

0.02

0.03

H(R)

R

Page 26: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Comparison of models in matching offset lithographic print dataComparison of models in matching offset lithographic print data

Sum of two gaussians Straight Edge

vs.

Page 27: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Comparison of models in matching inkjet “stochastic halftone” dataComparison of models in matching inkjet “stochastic halftone” data

Sum of two gaussians Straight Edge

vs.

Page 28: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Automated computationAutomated computation

Program written in Visual Basic

Opens up a data file and automatically find the best computational match by looking for the set of variables that yields the lowest RMS deviation value.

Page 29: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Problems with the straight edge modelProblems with the straight edge model

H(R)

R

H(R)

R0 10

0.1

Expand

Page 30: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

Problems with the straight edge modelProblems with the straight edge model

H(R)

R

H(R)

R

Expand

Page 31: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

ConclusionConclusion

Model fits well for Ri and Rp close to each other

For Ri and Rp widely spaced, a single noise metric is inadequate.

Page 32: Modeling the Histogram of the Halftone Image to Determine the Area Fraction of Ink Yat-Ming Wong May 8,1998 Advisor: Dr. Jonathan Arney.

The EndThe End