Rochester Institute of Technology
RIT Scholar Works
Theses
Thesis/Dissertation Collections
3-1-1991
Analysis of random halftone dithering using second
order statistics
Eran Steinberg
Follow this and additional works at:
http://scholarworks.rit.edu/theses
This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion
in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact
Recommended Citation
ANALYSIS OF RANDOM HALFfONE DITHERING
USING SECOND ORDER STATISTICS
By
Eran Steinberg
March 1991
A THESIS SUBMITfED IN PARTIAL RJLFILLMENT
OF THE REQUIREMENTS FOR THE DEGREE OF
MASTER OF SCIENCE IN THE CENTER FOR
IMAGING SCIENCE IN THE COLLEGE OF
GRAPHIC ARTS AND PHOTOGRAPHY OF THE
ROCHESTER INSTITUTE OF TECHNOLOG Y
Signature of Author
Eran Steinberg
Accepted by
COLLEGE OF GRAPHIC ARTS AND PHOTOGRAPHY
ROCHESTER INSTITUTE OF TECHNOLOGY
ROCHESTER,NY
Certificate of Approval
M.S.
DEGREE THESIS
I certify that I have read this thesis and that in my opinion
it
is fully adequate, in scope and in quality, as satisfactory for
the thesis requirements for the Master of Science degree.
Dr.
Rob Rolleston
Webster Research Center
Xerox Corporation
Dr. Roger Easton
Center for Imaging Science
Rochester Institute of Technology
Dr.
Rodney Shaw
Center for Imaging Science
Rochester Institute of Technology
THESIS RELEASE PERMISSION FORM
ROCHESTER INSTITUTE OF TECHNOLOOY
COLLEGE OF GRAPHICS ARTS AND PHOTOORAPHY
I,
Eran Steinberg, prefer to be contacted each time
a request for reproduction is made.
2604 Elmwood Av. Suite 223
Rochester NY 14618
Date:
--~~rll-'-r-,--·_~----::~,-,---·
----::1~,,--9_1
_
Signature:
_
ANALYSIS
OF RANDOM HALFTONE DITHERING
USING
SECOND ORDER
STATISTICS
By
Eran
Steinberg
Submitted
to the
Center
for
Imaging Science
in partial fulfillment of the requirements
for the
Master
of
Science
degree
at
the
Rochester Institute
of
Technology
Abstract
An
analytical approachis
proposed to explainthe appearance of unwantedlow
frequency
artifactsduring
the randomdithering
halftoning
process.The
solution uses atheorem whichrelatesthe correlationoftheinput gray level
(continuous)
signal to the correlation ofthe output(halftone) binary
signal.The
numericalsolutionoftheabove
relationship
suggeststhat:1. Introduction
oflow
frequency
artifactsis
inevitable.
2.
The
effectis
enhancedfor
meangray levels farther
from
mid-gray.3.
High
frequency
information
in
theinput
signalis
attenuated more thanlow
Acknowledgements
This
work,
as well asmy tuition,
was made possibleby
a grantfrom Xerox
Corporation,
and
RIT
Center for
Imaging
Science. I
am gratefulfor
being
offered such an opportunity.Special
thanks to
my
principal advisorDr.
Rob Rolleston from Xerox
Corporation,
Webster Research
Center,
for suggesting
the
researchtopic,
andadvising
methroughout
every step
ofthis
work.Thanks
to
my
secondadvisorDr. Roger Easton from
the
Center for
Imaging
Science,
for
helping
me shapethe
questions ofthe
researchinto
possiblesolutions,
andfor acting
asthe
RIT
Xerox
liaison.
Thanks
to
Dr.
Rodney
Shaw
from
the
Center for
Imaging
Science,
who waskind
enough
to
offer methe
grant,
andto
be
the third
referee.Thanks
to
Dr.
Keith
Knox,
from
Xerox,
WRC,
for giving
me valuableinsight
to the
statisticalaspectof
the
work.Thanks
to
Robert Fields
andHelen Kashtan for going
through the
manuscript,
andtrying
to
interpret my
thoughts
into
comprehensibleform.
Contents
Acknowledgements
v1
General Overview
1
1.1
Halftoning
1
1.1.1
Halftone
Dithering
2
1.2
MTF
ofthe
Visual
System
6
1.3
Blue Noise
7
1.3.1
Random
Dithering
vs.Error Diffusion
12
1.4
Basic Mathematical
Concepts
15
1.4.1
Clipped
Noise
15
1.4.2
Random Gaussian Process
18
1.4.3
Normalized Correlation Function
18
1.4.4
Defining
the
Goal
ofthe
Research
19
1.5
Historical
Background
20
1.5.1
Applications
21
2
Analytical
Background
22
2.1
The Generalized Van
Vleck
Theorem
22
2.1.1
Discussion
23
2.2
The
normalization
factor
24
3
Numerical Solution
26
3.1
Boundary
Conditions
27
3.1.1
Peak
ofNormalized Output
Correlation Function
27
3.1.2
Ergodicity
andCorrelation Functions
28
3.2
Software
Implementation
28
3.2.1
Boundaries
ofClipping
Values
29
3.3
Graphical
Representation
31
3.3.1
Zero
Clipping
33
3.3.2
Arbitrary Clipping
Levels
33
3.3.3
The
Decrease in
the
Correlation
35
4
Statistical Simulation
37
4. 1
Steps
ofthe
Simulation
37
4.1.1
Input Parameters
39
4.1.2
Generating
Gaussian Noise
41
4.1.3
Generating
Correlated Noise
42
4.1.4
Clipping
46
4.1.5
Compute Correlation
46
4.1.6
Calculating
the
Mapping
Function
49
4.2
Discussion
53
4.2.1
Comparison
Between
Different Correlation Functions
53
4.2.2
Comparison Between Simulation
andNumerical Solution
57
5
Results
andFuture
Research
59
5.1
Application
ofTheorem
60
5.2
Redefining
the
Problem
66
5.2.1
The Ideal Case
66
5.3
The
Inverse
Problem
67
5.3.1
Noise From Power Spectrum
68
5.3.2
Continuous
Noise
From
Binary
Noise
68
5.3.3
Valid
Correlation
Functions
69
5.3.4
Iterative
Attempts
72
5.4
Gaussian
vs.Uniform Noise
73
5.4.1
Validity
ofTheorem in General
Distributions
73
5.4.2
Dithering
withGaussian Distributed Noise
75
5.5
Generalization
for
Two Dimensions
79
A
Glossary
ofSymbols
andNotation
81
B
Proof
ofTheorems
83
B.2
Chapter
2
Analytical Background
83
B.2.1
The
General
Van Vleck Theorem
83
B.3
Chapter 3
-Numerical Solution
92
B.4
Chapter
4
-Simulation
93
B.5
Chapter 5
-Results
97
C
Validity
of aCorrelation
Function
100
C.l
Sufficient Condition
102
C.2
An Example:
the
Van Vleck Transformation
104
List
of
Tables
4. 1
Parameters
for
statistical simulation39
4.2
Statistics
ofthe
random white noise generator42
List
of
Figures
1.1
Dithering
flowchart
5
1
.2The MTF
ofthe
human
eye6
1.3
Uniform-constant
image
dithered
by
auniform whitenoisemask7
1
.4Blue Noise Mask Algorithm
9
1
.5 Constant-128
image
dithered
by
white(top)
andablue
(bottom)
noise masks10
1.6
A
256x256
image,
dithered
by
white(top)
andblue
(bottom)
noisemasks1 1
1.7
Floyd-Steinberg
errordiffusion
(top)
vs. randomblue
noisedithering
(bottom)
13
1.8
A
32x32
window randomdithered
with white noise(top),
blue
noise(center)
anderrordiffusion
(bottom)
14
1.9
Zero clipping
of anarbitrary function
16
1.10
Clipping
atanarbitrary level
17
3.1
Jones Plot
-Mapping
ofp(r)
into
R(t)
through
an arcsinetransformation
32
3.2
Numerical
solution ofzeroclipping
33
3.3
Numerical
solutionfor arbitrary clipping level
34
3.4
Correlation
values as afunction
ofthe
clipping level
35
4.1
Flowchart
for
Statistical Simulation
38
4.3
Generating
atriangular
correlated noise44
4.4
Correlated
noise
before
andafterclipping
46
4.5
Flowchart for
finding
the
correlationfunction
47
4.6
Simulation
-Normalized
vs unnormalized
mapping
functions
49
4.7
Flowchart for calculating
the
mapping function
50
4.8
Jones
plotfor mapping
oneiteration
52
4.9
Statistical Simulation
for
atriangular
shapedcorrelated noise54
4.10 Statistical Simulation for
rectangular,
triangularandHanning-shaped
correlation
functions
55
4.
1 1
Number
ofdata
pointsfor
each correlation value(256
points,
500
iterations)
56
4.12
Comparison
between
the
statistical simulation andthe
numerical solution .58
5.1
Flowchart
of changein
powerspectrumdue
to the
clipping
process ...61
5.2
Change
in
power spectrumdue
to
thresholding
for
alow-pass filter
....62
5.3
Change in
power spectrumdue
to
thresholding
for
ahigh-pass filter
....63
5.4
A
graphicalillustration
of anon-valid correlationfunction
70
5.5
Abrupt
vs. gradualtransformations
75
5.6
Random
dithering
withaGaussian
mask77
A. 1
Glossary
ofsymbolsfor flowcharts
81
C. 1
Allowed definition
spacefor
the
mapping function (the dark
region)
...103
Chapter
1
General Overview
1.1
Halftoning
The
following
sections give abrief
introduction
to the
methods ofhalftoning
in
general,
withemphasis on random
halftone dithering. A
more completedescription
canbe
found
in
[SM81], [Uli87], [KR75],
[UH88].
Halftoning
is
a method usedto
approximate a continuousimage
on abinary
display.
The
technique
was used asearly
asthe
llth century
by
Italian
engravers.It
was namedmezzotint which
is
the
etymologicalrootto
halftoning.
In printing
technologies
such aslithography,
letterpress,
andgravure,
animage
is
displayed
by
the
presenceor absence ofink
onthe
paper.Approximation
ofa continuousgray levels
is done
by
applying
ahigh-frequency
mask ofdots
orlines.
When
viewedunder normal
viewing
conditions,
asimulated averagegray
level
is
achieved whilethe
dots
themselves
become
unnoticeable.The
ageof
computersbrought
withit
a needfor
adigital
interpretation
ofthe
halftone
CHAPTER
1.
GENERAL
OVERVIEW
2
areas: global
stationary
pointwisethresholding
andlocal
adaptivethresholding
such aserror
diffusion.
The
basic
adaptive method wasdeveloped
by
Floyd
andSteinberg
andis
callederrordiffusion ([FS75]). The
methodof errordiffusion
is
based
onthresholding
the
input image
witha
fixed
value addedto
weightederrors,
which were passedalong from
previouspixels,
in both
the
horizontal
and verticaldirections. It
was shown([Bar88]),
that this
methodhas
an
intrinsic
high-pass
filtering
mechanism.This
is
amajor reasonfor
the
pleasantresultsof
this
algorithm,
because
the
noiseis
not as noticeable when perceivedby
the
low-pass
nature of
the
human
visual system.Various improvements
ofthe
basic
algorithm wereintroduced,
(such
asin
[SM89]),
using
this
knowledge
aboutthe
visualsystem,
so asto
generateabetter
perceptualbinary
image.
Stationary
algorithms,
referredto
in
general ashalftone
dithering
do
notinclude
apriori
knowledge from
previous pixelsin
orderto
determine
the
thresholding
valuefor
the
processedpixel.
Instead,
afixed
dithering
maskis
appliedto the
continuousimage. Various
methodswere generated
using
this scheme,
whichdiffer is in
the
structureofthe
dithering
mask,
whilethe
processis
basically
similar.A few
well-knowndithering
algorithms are:dispersed
dot
dithering
[Bay73],
clustereddot
dithering
[SM81]
and randomdot
dithering
[Rob62].
The
remainder ofthis
workinvestigates
the
methodof randomhalftone
dithering.
1.1.1
Halftone
Dithering
Halftone
Dithering
is
aglobal,
pointwise andstationary
operator. 'This
process ofhalftone
dithering
canbe described
by
the
following
algorithm:CHAPTER
1.
GENERAL
OVERVIEW
3
Algorithm 1.1.1
(Halftone
Dithering)
-Given
:An
image
of
size(MxN)
-pixels, whichis
aspatially
discrete
and quantized samplesof
acontinuous
tone
image
21(m,n)
witha
dynamic
range(gray
levels)
of
0
<
I(m,n)
<
G
A
setof
(MxN)
spatially
discrete
and quantized samplesof
a continuousdithering
mask
D(m,n)
whichis
auniform random-distributed noise. 3For
each pixelp(m,n)
in
the
domain of
the
image (MxN):
Step-1
Assign
:p(m,n)
<=I(m,n)
-fD(m,n)
(1-1)
Step-2
Compare
to threshold:
If
p(m,n) >G
(1.2)
then
B(m,n)
<=1
else
B(m,n)
<=0
The dithered image
B(m,n),
is
of
sizeMxN
andadepth of I bit
perpixel.A faster
algorithmcanbe implemented
by
using
the
complementary
maskD(m,n)
=G-D{m,n)
V(m,n)
G
D
(1.3)
Note
that the two
masks,
D
andD , arestatistically identical
if
the
dithering
maskhas
a symmetric
distribution
aboutthe mean,
whichasusually
the
case.2Referred
tofrom
now onasthecontinuousimage
3
Referred
toas thecontinuousCHAPTER
1.
GENERAL
OVERVIEW
4
Algorithm 1.1.2
(Alternative
Halftone
Dithering)
Given
:An MxN
continuous
image
I(m,n)
witha
dynamic
range
(gray
levels)
0
<
I(m,n)
<G
An MxN
dithering
maskD(m,n)
For
each pixelp(m,n) in
the
domain
of
the
image (MxN):
Step-1 Compare
image
to
mask:If
I(m,n)>D(m,n)
(1.4)
then
B(m,n)
>=1
else
B(m,n)
<$=0
The dithered image
B(m,n),
is
of
sizeMxN
and adepth of 1 bit
per pixel.A
flowchart
ofthis
algorithmis illustrated in figure 1.1.
4When
implemented
on acomputer,
the
latter
algorithm(1.1.2
requires minimalmemory
space andonly
a singlelogical
operation perpixel.Simplicity
gainedthis
algorithmpopularity,
especially
whencomputers were
significantly
slower andmemory limited.
Being
apointwisealgorithm,
it
can alsobe implemented in
ahighly
parallelfashion,
limited only
by
the
number ofavailable processors.
In
this
case,
the
complexity
ofthe
dithering
algorithmis
ofO(l)
(constant).
Analysis
ofthe
image
quality
primarily depends
onthe
characteristicsofthe
dithering
mask.
In
orderto
maintainthe
averagedensity
ofthe
image
at agivenregion,
the
values ofthe
mask shouldbe
uniformly distributed
aboutthe
mean,
because
the
uniformdistribution
is
the
unbiased estimatorfor
the
average ofthe
grey level
mask.In
otherwords,
by
CHAPTER
1.
GENERAL
OVERVIEW
DITHERING
/
I(m,n)
Continuous
Image
'
D(m,n)
Dithering
Mask
0(i
j)
=0
0(i
j)
=1
0(m,n)
Dithered Image
CHAPTER
1.
GENERAL
OVERVIEW
Log
Modulation
0.1 1.0 10 100
log
SpuialFrequency
(Cycles/Degree)Figure 1.2: The MTF
ofthe
human
eyeintegrating
over asufficiently large
area, the
input gray level
willbe
maintained afterthe
dithering
process.A desired
feature
ofahalftoned image is
that the
dots,
which arethe
atomicparticlesof
the
halftoning
mask,
will notbe
visibleto
the
viewer.Therefore
no artifactswillbe
added
to the
image due
to the
halftoning
process.In
otherwords, the
binary
method ofrepresenting
a continuoustone
shouldbe
astransparent
as possible.As
seenin
the
nextsection,
this
constraintcanbe better
explainedby
looking
atthe
spatialfrequency
attributesof
the
dithering
masksandthe
halftoned
image.
1.2
MTF
of
the
Visual System
CHAPTER
1.
GENERAL
OVERVIEW
Figure 1.3:
Uniform-constant
image dithered
by
a uniform white noise maskWhen
displaying
random whitenoise,
low-frequency
patterns(i.e clustering
ofdots)
appear as an unpleasantartifact.
An
example canbe
seenby
carefully viewing figure 1.3.
In
this example,
a simplisticimage
whichis
of a constant mediumgray level (128
outof
256)
is halftoned using
a randomdithering
mask of uniform white noise.At
normalviewing
distances,
the
clustering
effectis
quite noticeable. 5A better
result shoulddecrease
the
clustering
effect.Such
asolution,
using
the
frequency
information
ofthe
dithering
mask,
wasintroduced
by dithering
withblue
noise.1.3
Blue Noise
Colored
noiseis defined
as a random signal with a spectraldistribution
that
simulates agiven color
in
the
visualrange;
e.g. a white noisehas
aflat
power spectrum while ablue
5In
alloftheexamplesusing
images, they
areprintedas-isby
overruling
die
halftoning
algorithmsoftheCHAPTER
1.
GENERAL
OVERVIEW
8
noise
has
predominantly
high
frequencies,
etc.Additional information
aboutthe
subjectcan
be
found
in
[Uli88]
and[Uli87].
A
proposed methodfor reducing
the
low-frequency
artifactsis
to
generate a randomdithering
mask whichcontains
morehigh-frequency
information
than
low-frequency
information (therefore
called ablue
noise mask).Such
amethod was presentedin [Rol89].
This is
aniterative
algorithm wherearandom whitenoiseinput
is
high-pass-filtered in
the
frequency
domain
andhistogram-equalized
in
the
spatialdomain
untilthe
generated noisecontained
very little
low-frequency
information
and alsohad
anearly
uniformdistribution.
A
flowchart
ofthis
algorithmis
shownin Figure 1.4.
This
approachimproved
the
quality
ofthe
images
relativeto
those
obtainedby dithering
with white
noise,
asillustrated
in Figures 1.5
andFigure 1.6.
6In
both
figures,
the
same continuous gray-levelimages
weredithered using
a white noise maskand ablue
noise maskThe improvement in quality is strongly due
to the
reduction ofthe
highly
visible clusterswhichare of a
low-frequency
nature.CHAPTER
1.
GENERAL
OVERVIEW
Blue
Noise
Filter Generation
Histogram
Equalization
h
=(f*w)
FFT
H
=FFT
(h)
MSE
m=MSE(H,F;
D-FFT(H)
CHAPTER
1.
GENERAL
OVERVIEW
10
CHAPTER
1.
GENERAL
OVERVIEW
11
CHAPTER
1.
GENERAL
OVERVIEW
12
1.3.1
Random
Dithering
vs.
Error Diffusion
As illustrated
in
the previous
images,
there
is
a significantimprovment in
the
randomdithering
algorithm
when ahigh-frequency
noise mask was applied.For
completeness,
it
is necessary
to
comparethis
methodwithotherbenchmark
digital
halftoning
methods,
such aserror
diffusion.
In
the
following
comparison,
abinary Floyd-Steinberg
errordiffusion
algorithm wasapplied.
The
image
is
raster-scannedfrom
top-left to
bottom
-right,and
the
erroris
allocatedfrom
each pixel(X)
in
the
following
proportions: 7X
7 16 3 16 5 16 1 16A
visual comparisonbetween
dithering
withblue
noiseanderrordiffusion is illustrated
in Figure 1.7.
Undoubedtly
errordiffusion
producesbetter
resultsfor
this
image. A
closerlook
atthe
dot
pattern canbe
seen when a small window(32x32
pixels)
is
halftoned using
all
three
methods(Figure 1.8). The
top
image
was madeby
dithering
with awhite noisemask,
andthe
clustering is very
noticeable.The
centerimage has
the
sameinput
window,
dithered
by
ablue
noise mask.The
image
seemssmoother,
but
is
hardly
recognizable.The
bottom image is
the
result ofthe
errordiffusion. With
alittle
effort,
animage
is
starting
to
emerge. 8
From
the
aforementionedimages
(especially
Figure
1.8)
it is
obviousthat the
clustering
effect
is
notonly due
to the
low-frequency
information
in
the
dithering
mask,
but is
aresultof
the
halftoning
process.A
needfor
abetter understanding
and a precise mathematicalexpression
to
describe
this
artifact motivatedthis
research.7For
acomprehensivedescriptionsee[FS75]
CHAPTER
1.
GENERAL
OVERVIEW
13
Figure
1.7:
CHAPTER
1.
GENERAL OVERVIEW
14
BaIt^
L^.
-V,
'TV.-" '-' X
&
J,-x*.
^*
,
&$:'.''
>:i?:^Tff,
V^--'-
jl.,l"_Vz_ _
X .
.
.
Figure
1.8: A
32x32
window randomdithered
with white noise(top),
blue
noise
(center)
CHAPTER
1.
GENERAL
OVERVIEW
15
1.4
Basic
Mathematical
Concepts
The
following
sectionoutlines
the
basic
tools
usedthrought the
work:the threshold
function,
the
randomGaussian
process and correlated noise.In
this
section we shalltreat
signals,
which arethe one-dimensional
caseofa generalimage.
A
possibleextensioninto
two
dimensions
is
discussed
later.
1.4.1
Clipped Noise
Dithering
techniques
requirethat the
outputimage
shouldbe
binary
i.e.
the
range ofthe
dithered
images
containstwo
values e.g.{1}
and{-1}
exclusively,(mathematically
R{7o(m,n)}{-l,l}).
Given
a continuousfunction
f(x)
s.tD{/(x)}
G
3ft,
andR{/(x)}
e
3?,
it is
possibleto
define
the
clipping
processusing
the
following
transformation:
Definition
1.4.1
[Zero
Clipping
9]
An
operatorC
:f(x)
=>fc(x)
is
called zeroclipping
if
fc(x)
=1
ifx
>
0
(1.5)
-
1
otherwise
The
result ofthe
clipping
(thresholding
process)
is
a square-wavefunction,
asillustrated
in
Figure 1.9.
CHAPTER
1.
GENERAL
OVERVIEW
16
Zero
Clipping
1.00
0.00
continuous i
zero_ciip
CHAPTER
1.
GENERAL
OVERVIEW
17
Arbitrary
Clipping
atLevel
-0.3Figure 1.10:
Clipping
at anarbitrary level
The
process ofclipping
at anarbitrary level is
anatural generalization andis defined
as:
Definition 1.4.2
[Arbitrary Clipping]
, ,def I
!
ifx>a
9a{x)
=1
otherwise(1.6)
CHAPTER
1.
GENERAL
OVERVIEW
18
1.4.2
Random Gaussian
Process
The
randomdithering
algorithm
is based
onthe
characteristics ofthe
dithering
mask.Being
a random noisemask,
it
canbe
seen as a single realization of a statistical process.Therefore,
tools
from
statistical analysis are requiredto
analyzethe
properties ofthis
random process.
Statistical
analysis of a stochastic processrequires aknowledge
ofthe
moments and an
understanding
how
they
changedue
to
clipping.By
maintaining
the
mean
(first moment)
ofthe
image
assuresthat,
onaverage,
the
image
will maintainits
density
(brightness).
When
dithering
with auniformdistributed
mask, the
gray
levels
aremaintained
(on average) for every
input
value.The
differences
in
the
statistics ofthe
image
before
and afterbeing
halftoned
mustbe
evidentin
the
momentsof ordertwo
andhigher.
Although
auniformly distributed
maskis
appliedfor
the
randomdithering
algorithm,
a
Gaussian distribution
was usedfor
this
specific research.It is known
that
astationary
Gaussian
processis
awide-sensestationary
processwhichis
fully
characterizedstatistically
by
only
its
first
two
moments.Moreover,
the
theory
of normal(Gaussian)
distribution
is
mathematically
more sound andits
statistical properties areeasierto
describe
than that
ofuniform
distribution. The
approachtaken
in
this
work wasto
analyzethe
processusing
aGaussian
distribution,
andlater
onto
relatethe
resultsto
uniformthe
distribution.
1.4.3
Normalized
Correlation Function
The
scopeofthis
work revolves aroundthe
concept ofanormalized correlationfunction.
It
is
therefore
appropriateto
mentionthe
rigorous
mathematicaldefinition.
Definition
1.4.3
[Normalized Correlation
Function]
A
normalizedcorrelationfunction is
acorrelation
function
pn(x)
s.t.CHAPTER
1.
GENERAL
OVERVIEW
19
Given
anunnormalized correlation
function,
the
following
transformation
is
performedfor
normalization:
Lemma 1.4.4
[Normalizing
an unnormalized correlationfunction]
-Given
ageneral random
processf(x)
withcorresponding
first
and second moments p.and a , with an
unnormalized
correlationfunction
pu{x), the
following
transformation
normalizes
the
correlationfunction
pn(x):Pn[x)
=5
(1.8)
Proof
that
pn(0)
=1.0
is
an
immediate
result ofLemma
3.3.1,
whichis
provenin B.3.2.
Additional
discussion
canbe found
in any fundamental
textbook
about random processessuch as
[Tho62].
1.4.4
Defining
the
Goal
of
the
Research
Once
equipped withthe
right
mathematicalconcepts,
it is
possibleto
rigorously
describe
the
goal ofthis
research.As
aforementioned,
1.
Maintaining
the
first
momentbefore
and afterclipping,
is
an a prioriconstraint,
because,
onaverage,
the
density
shouldbe
maintained.2. For
aGaussian
process,
it
is
sufficientto
know
the
only
the
first
two
moments.3. The
second moment canbe
expressedin
terms
of a correlationfunction.
From
the
above assumptionsthe
goal ofthe
researchcanbe
defined
as:Determination
of the
relation betweenthe correlation functions of a
CHAPTER
1.
GENERAL
OVERVIEW
20
1.5
Historical Background
Interest
in
characterizing
the second-order
statisticsofa clippedsignalbegan
long
before
attempts
to
apply it
to
dithering.
The
applicationof secondorderstatisticsto the
analysis ofclipped
radarsignals
wasinvestigated
during
World War
II.
Processing
a captured signalin
its full dynamic
range requiredlong
computationtime
andlarge data
storage capacity.A
proposed solution wasto
replacethe
continuous signalby
a clipped version(a
binary
signal)
before
analysis.This
process simplifies computations and requires aconsiderably
smaller storage capacity.
It
is
clearthat the
precisionis
degraded
whenanalyzing
binary
noise as
compared
to the
continuous version.The
goal atthat time
wasto
quantify
the
error generated
by
the
binary
approximation.One
approach wasto
comparethe
correlation ofthe
signalbefore
and after clipping.The
first
to
do
so wasJ. H. Van
Vleck,
in
a classifiedpaper(as
partofadefense
projectduring
the
World War
II) [VV43]
entitledThe Spectrum of
Clipped
Noise,
wherehe
established
the
following
relationship
10:
Theorem 1.5.1 (Van
Vleck)
-Given
awide-sensestationary
zero-meanGaussian
processwitha normalized correlation
function
p(r),
andits
zero-clippedversion with correlationfunction
R(
t),
the
functions
arerelatedasfollows:
R(t)
=-sin-lp(T)
(1.9)
7T
Due
to the
importance
andthe
wide usage ofthis result,
a revisedpaperby
D. Middleton
was published
in 1966
([VVM66]).
Various
proofs ofthis theorem
canbe
found
in many
textbooks
on stochastic processes(e.g.
[Tho62]),
as well asin
the
above papers([VV43]
and
[VVM66]);
therefore,
the
proof will notbe
repeatedhere.
CHAPTER
1.
GENERAL
OVERVIEW
21
1.5.1
Applications
The
originalVan
Vleck
theorem
wasfound
usefulin
awide range ofapplications.Some disciplines
wherethis
important
resultwas utilizedinclude:
Correlation Function
Peak Detector
[JA81]
Synthetic
Aperture Radio Telescope
[N+83]
Correlation
systemsin
radioastronomy
[Ega84]
Optical
Spectroscopy
using digital
autocorrelation[Jak70]
Clip
level
crossing
ratesin
photon correlation[BJ+77]
Correlation
propertiesofclippedlaser
speckle[MM85a],
[Chu85]
The
effect ofintensity
clipping
wasthoroughly
discussed in
the
field
oflaser
speckle.The
subject was also generalizedboth
to
two
dimensions
andfor
variablethresholds
[0088a],
[0088b],
[Oht85].
An
approximate closed-form solutionfor
the
correlationfunction
afterclipping
at anarbitrary
threshold
is
presentedin [MM85b]. The
dependence
of
the
correlation width onthe
intensity
ofthe
clipping function is
investigated
in [0088a].
A
general and explicitformula for
the
dependence
ofthe
intensity
correlation oftwo
partially
correlated speckleintensities
wasderived in
[Ped84]
using
the
Hille-Hardy
formula,
andin
[MM85a]
using Fourier
methods.In
this
method,
a closedform
solutionwas
determined
through aninfinite
sum ofLaguerre
polynomials.Unfortunately,
for
the
purposes ofthis study, the
previousresearch couldonly
serve asChapter
2
Analytical
Background
This
chapter outlinesthe theoretical
basis
ofthis
research.For
ease ofreading,
theorems
and such are stated without proof.
The
complete proofs are offeredin Appendix B.
2.1
The
Generalized
Van Vleck
Theorem
The
Van Vleck theorem,
whichdescribes
the
relationship
between
the
correlationfunction
of noise
before
andafterclipping
atits
meanlevel,
has been
discussed
and usedextensively
in
the
past50
years.However,
asfar
as couldbe
determined,
a general solutionfor
anarbitrary
clipping level
was never published.This
section presents and explains such ageneralization.
Theorem
2.1.1
(Generalized
Van
Vleck) (B.2.1)
'-Given
awide-sensestationary
zero-meanGaussian
processwith a normalizedcorrelationfunction
p(r)
andafunction
whichresultsfrom
arbitrary clipping of
the
process atlevel
a,
'The
parenthesizedreferences,following by
thetide, is
thelocation
ofthe comprehensive proof.CHAPTER 2.
ANALYTICAL
BACKGROUND
23
the correlation
function
R(
t)ofthe
clippednoiseis
givenby:
dR
2e~i(,-^V+e)(IP
7Ty/X-f
(2.1)
or
expressed
in
integral
form:
d-4(1+p(t))
R(t)
=I
.=dp
+
constant(2.2)
The
proofis
rathertedious
and unattractive mathematically.However,
asfar
ascouldbe
determined,
this theorem
has
neverbeen
derived
previously
and sothe
completeproofis
givenin
Section B.2.1.
The
theorem
offers amethodfor calculating
the
correlation ofthe
outputbinary
signal,
given a continuous
input
signal.In
otherwords,
equations(2.1)
and(2.2)
describe
atransformation
between
the two
domains.
2The
generalVan Vleck
theorem
represents amapping
rulebetween
R(t)
and p(r).This
viewpoint willbe exhaustively
utilizedin
Chapters
3
and4
A reassuring
result,
that
relatesthe
original andthe
generalizedVan Vleck
theorems
(1.5.1
and2.1.1
respectively),
is
madein
the
following
claim:Claim
2.1.2
(Zero
clipping
as a special case ofthe
generalizedtheorem)
(B.2.1)
-For
the
caseof
a =0,
the
generalizedVan
Vleck
theorem
simplifiesto the
originalVan
Vleck
theorem.
The
proofis
immediate
andcanbe found Appendix B.2.1.
2.1.1
Discussion
The
generalVan Vleck
theorem presents adifferential relationship between
the
two
CHAPTER
2.
ANALYTICAL
BACKGROUND
24
without
the
needofintegration
orinfinite
summation.Unfortunately,
this type
of asolutionhas
not yetbeen
derived
andit is
mostlikely
that
such asolutiondoes
notexist.The
obvious approachis
to
try
andinvestigate
the
behavior
ofthis
equation numerically.The
solution ofthe
differential
equation wasderived using
the
Runge-Kutta fourth-order
adaptive
step
method([P+88]pp
569-583
and[C+69]
pp.361-365).The
results arepresented
in
Chapter 3.
2.2
The
normalization
factor
The clipping
process changes morethan
just
the correlation;
it
is
clearthat the total
energy
also changes.
The
following
theorem
quantifiesthe
change ofthe
average and variance ofthe
binary
image
due
to
thresholding
at anarbitrary level.
Lemma 2.2.1 (Change
ofmean and variancedue
to clipping)
(B.2.3)
-The
meanof
azero-mean unit-varianceGaussian
process clipped atlevel- a(as defined in
definition-
1.4.
2)
is
:E{9a(x)}
= 1-2-erf
(a)
(2.3)
and
the
varianceis
:Var{ga(x)}=4-erf(a)-erf(-a)
(2.4)
where
erf(z) is
the
Gaussian
errorfunction
3Intuitively,
Lemma 2.2.1
statesthat the
mean ofthe processmonotonically
decreases
as a
function
ofthe
clipping
value.The higher
the threshold
level
is,
less
pixels willhave
alarger
valuethan the
thresholdlevel. The
variance,
onthe
otherhand,
is
symmetric aroundthe
mean andmonotonically
decreases
asthe
thresholdvalueis
farther
from
the
mean.Due
CHAPTER
2.
ANALYTICAL
BACKGROUND
25
to the
fact
that
the
noiseis Gaussian
distributed,
it is
intuitively
clearwhy
the
moments areexpressed
using
the
errorfuncion. The
preciseproofis
statedin Appendix B.2.3.
Note
that the
theorem
implicitly
assumes anormalizedcorrelationfunction
(as
defined
in
1.4.3)
because
ofthe
relationship
between
the
varianceandthe
peak ofthe
correlationfunction
(as
willbe
discussed
in Lemma
3.3.1).
This
fact is important
whenanalyzing
the
effect ofclipping
onthe
first
two
moments,
asindicated in Lemma
1.4.4,
wherethe
mean and variance are relatedbefore
and after conversionfrom
a normalizedto
anunnormalized correlation
function.
As
willbe
seenlater,
Theorem
2.2.1,
along
withthe
relationship
between
the
normalized andunnormalized correlationfunctions
(Lemma
1.4.4),
areimportant
to
determine
the
correct normalizationfactors
ofthe
numericalChapter 3
Numerical Solution
This
chapterdescribes
the
numerical solutionfor
the
differential
expressionthat
wasderived
in
the
generalVan Vleck Theorem (2.1.1):
dR
2e-(,+')(3.1)
dp
-kJl-p2
The
numerical approach andits
graphic representation enables a goodinsight
to the
significance of
the theorem.
The
solution wasderived
by
treating
the
expression asa
differential
equationof
the
first
order andapplying
the
Runge-Kutta fourth-order
approximation method
for solving it. In
general, the
Runge-Kutta
methodfor solving
adifferential
equationis based
onthe
Euler
method.Given
aboundary
condition(po,
Rq)
andan
interval
h,
the
values ofthe
function
are calculatedstepwise s.t.Rn+1
=Rn
+
hf'(pn,Rn)
(3.2)
To increase
the accuracy,
four
midpointsarecalculatedto
determine
the
next point.A
moredetailed
explanation canbe found in
[C+69]
(pp.
361-365)
andin
[P+88]
(pp. 569-574).
When solving
adifferential
equation,
it
is
important
to
setup
the
appropriateboundary
conditions,
asdiscussed in
the
next section.CHAPTER
3.
NUMERICAL SOLUTION
27
3.1
Boundary
Conditions
When solving
afirst-order differential
equation,
the
general solutionis
uniquely
defined
up
to
anadditive constant
whichis
the
nullsubspace
ofthe
solutionspace,
ordR
=
f(R,p)
+
C0
(3.3)
where
CQ
3? is
anarbitrary
constant.A
sufficientboundary
condition canbe
ofthe
form
f(Ro,Po)
=Co
(3.4)
where
{Ro,po)
is
anarbitrary
point s.t.Ro
andp0
are valid correlation values. 'As
areminder,
the theorem
assumesthat
p(x) is
a normalized correlationfunction.
A
normalized correlationfunction pn(r)
canbe
derived from
the
unnormalized one-Pu(t)
givenknowledge
ofthe
first
two
moments asdescribed
in
Lemma
1.4.4.
Both
representations
(normalized
vs.unnormalized)
arevalidanduseful,
eachcorresponding
to
different
attributes ofthe
correlationfunction,
asdiscussed in
the
following
sections.3.1.1
Peak
of
Normalized
Output
Correlation Function
The
outputcorrelationfunction
R(t)
canbe
forced
to
have
apeak valueof1.0,
using
the
following
boundary
condition(given
that
p{r) is
aprioria normalized correlationfunction),
p(0)
=\
==?R(0)
=1
(3.5)
By
normalizing
the
functions,
to
peakatthe
samevalue, the trend
ofchangein
shape canbe clearly
seen.The disadvantage in
this
methodis
that the
information regarding
the
peakof
the
output correlation(after
clipping)
is obviously lost due
to the
normalization.This
CHAPTER
3.
NUMERICAL
SOLUTION
28
that
by forcing
R(0)
=1.0
using
anadditive
constant,
R(t)
is
notnecessarily
anormalizedcorrelation
function,
but
rather ashifted version
ofthe
unnormalizedfunction.
In
orderfor
R(t)
to
be
a normalizedcorrelation
function,
amultiplicative
factor
(meaning
a2,
asexplained
in
Lemma
1.4.4)
has
to
be
introduced
aftersubtracting
the
mean p.In
otherwords,
the normalization process
can notbe
executedby
using
a member ofthe
nullset ofthe
first-order differential
equation.
3.1.2
Ergodicity
and
Correlation
Functions
If
the
boundary
conditionis defined
as:p{oo)
=0
=^R(oo)
=0
(3.6)
this
conditionis
merely
anapplicationofthe
necessary
conditionofanergodicprocess,
i.e.
that the
correlationis
zero at aninfinite
shift,
s.t.for
a givenergodic stochastic process:lim p(t)
=0
(3.7)
T >00
While
the
first
condition enablesabetter
insight
ofthe
behavior
ofthe
newclipped noisealone,
the
secondcondition allows abetter
comparisonbetween
the
correlationfunctions
before
andafter clipping.Both
approachesareutilizedin
the
next section.3.2
Software
Implementation
The
following
assumptions were made whileperforming
the
simulation:The
Runge-Kutta
solution was executedusing
the
smallest possibleincrements
CHAPTER
3.
NUMERICAL
SOLUTION
29
The
solution wascalculated
in
the
open segment -1<
X
<
1 (as
opposedto
-
1
<
X
<
1),
because
the
derivative
is
notproperly defined
atthe
end points.Without loss
ofgenerality it
wasassumed
that
cr =1.0 for
the
undippednoise.
3.2.1
Boundaries
of
Clipping
Values
In
orderto
determine
the
range ofthe
clipping
values,
it
shouldbe
rememberedthat the
input
noiseis
a zero-meanunity-standard-deviation whiteGaussian
noise,
whichis
defined
for any
value of3?
i.e.
{
oo, +oo}.
The
following
is
a short exerciseto
convincethe
reader
that
because
wedeal
withadiscrete
case,
only
a small region ofclipping
values aresufficient
to
completely describe
the
process.For
a giventhreshold
valuea, the
percentage ofthe
valuesfrom
aGaussian
processless
than
ais
relatedto the
errorfunction
3:
P[X
<a]
=erf
(a)
(3.8)
Because
the
images
are8 bits
perpixel,
there
are256
distinct
(integer)
gray levels
(28).
Therefore,
the
only
significant range ofthresholding
canbe
calculatedusing
the
cumulativenormal
distribution
notation(Z-score). If
we assumethat
the
rounding
valueis 0.5
when xis
quantizedinto
acorresponding
integer
valuen
by
the
following
rounding
transformation:CHAPTER
3.
NUMERICAL
SOLUTION
30
Definition
3.2.1
(Integer
rounding)
-A
given realnumberis
rounded to
be
represented
by
8-bits
using
the
following
transforma
tion:
4Therefore
V:c
s.t.0
<
x<
255
(3.9)
if
(x-MOD{Jv)
<0.5
then
x-MODLV,x}
else
i-^MOD{^,i}
+ l
Vx
s.t.0
<
x<
255
(3.10)
if
x<
0.5
then
n=0def
if
x>
254.5
Men
n=255
In
terms
ofthe
probability,
for
aGaussian
process:or / i
-5
P[x<a]
=(3.H)
~
0.002
<-> a
>
-2.9and
for
the
upperbound
nr ^
.
254.5
P[x>a)
=-^-(3.12)
~
0.998
<-? a
<
2.9
In
otherwords,
it is
sufficientfor
256 discrete
samplesto
restrictthe
clipping
level
from
-2.9
to
2.9
whereall possible caseswill stillbe
encompassed.CHAPTER
3.
NUMERICAL
SOLUTION
31
For
easeofdisplay,
only four clipping
valuesareintroduced
throughout
the
simulation:{-1.0
0.0,
0.2
and0.5
},
whichcorrespond
to
thresholding
at16%, 50%,
58%
and69%
ofthe
maximumgray
value,
respectively.
Note
that
clipping
animage
at avalueais
similarto
a process wherethe
complementary image
was clipped atthe
value of-a, andthen
re-complemented,
andtherefore
clipping
at negative andpositive values areinterchangeable
when
the
results are analyzed. 53.3
Graphical
Representation
The
results ofthe
numerical solution aredepicted
graphically.These
graphsrepresent anisomorphic
transformation
between p(r)
andR(t)
(the
generalcase,
ofan endomorphictransformationwill
be discussed later
on).Each
possible value ofp(r) (i.e.
-1.0<
p{r)
<
1.0)
is
mapped throughthe
curveinto
a value which correspondsto
R(t).
Graphically,
this
transformationis illustrated
by
aJones Plot.
A
general example of aJones-plot
representation
is illustrated in Figure 3.1
where a triangular-shapedinput
correlationfunction
is
mappedthrough
an arcsine transformationto
generate a new correlationfunction.
CHAPTER
3.
NUMERICAL
SOLUTION
32
Output
Correlation
R
TRC
Curve
R
J
\
K-1
1
T
T
Identity
Transformation
Input
Correlation
Figure
3.1:
Jones Plot
CHAPTER
3.
NUMERICAL SOLUTION
33
Numerical_Solutlon_for_Zro_CUpplng
1.00
0.00
-0.50
Figure 3.2: Numerical
solution of zeroclipping
3.3.1
Zero
Clipping
As
statedin Lemma
2.1.2,
it is
reassuring
to
notethat the
numerical solution agreeswiththe
originalVan Vleck
theorem
for clipping
atthe
mean,
i.e.
that the
mapping is
anarcsine
transformation
illustrated
in Figure
3.2.
An
immediate
visual resultis
that the
transformation
is
contractive. 63.3.2
Arbitrary Clipping
Levels
Figure 3.3
representsthe
solutionfor clipping
at values of{0.0
,0.5
,1.0}
for
normalized(top)
andunnormalized(bottom)
correlationfunctions.
As
aprimary
result,
notethat
the
mapping
curveis
symmetricin
respectto the
x-axisCHAPTER
3.
NUMERICAL
SOLUTION
34
Unnormalized Correlation Functionsfor
Arbitrary
Clipping
Valuesclip_vil_0.0
/
)
cUp_v*L0J cbp_yil_10
050 1
/
Sj/t
0 00
100 -030 000 0.50 100
Peak Normalized Correlation Functions for
Arbitrary
Clipping
Values-1.00 -0.50 000 0.50 100
CHAPTER
3.
NUMERICAL
SOLUTION
35
Correlation_Values_as_a_Function_of_Cllpplng_Level
clip_lcvel_a
Figure
3.4:
Correlation
values as afunction
ofthe
clipping level
when
clipping
atthe
mean,
but is
asymmetricfor arbitrary clipping levels. In
general,
the
curve maintains
its
convex shapeonly for
positive values ofp but is
compressedin
the
negativequadrant.
This
changein
shapeis
significantandwillbe
addressedfurther
on.3.3.3
The Decrease in
the Correlation
For
the
unnormalized correlationfunction,
it is
obviousthat
the
peak ofthe
correlationfunction
is
decreasing.
Graphically,
this
decrease is illustrated in Figure 3.4.
Numerically,
this
graphwasderived
asfollows:
the
numerical solution wascalculatedfor sufficiently
smallincrements
ofthe
thresholdvalues(
Aa
=0.001)
in
the
interval
0.0
<
a
<
3.0.
(In
the
previoussection,
only
three
plots weredisplayed for
a ={0.0, 0.5,
1.0}).
CHAPTER
3.
NUMERICAL
SOLUTION
36
back
atFigure
3.4,
tau-1.0
represents the
maximum valuesofR(t)
for
allclipping
valueswithin
0.0
<
a<
3.0,
or all values ofR(t)
wherep(r)
=1.0
;
tau-0.5
represents a crosssection of all
clipping
valuesR(t)
wherep(r)
=0.5
etc. .A
different
approach wastaken, proving
the
same phenomenonusing
strictly
theoretical
reasoning,
based
onthe
following
lemma
:Lemma
3.3.1
(Peak
Correlation
asFunction
ofVariance)
(B.32):
Given
a zero-meanstationary
process,
the
peak valueof
the
unnormalized correlationfunction
of
the
undippeddata is
equalto the
varianceof
the
process.p(0)
=Var[X)
(3.13)
As
areminder,
the
value ofthe
variance waspreviously derived in Lemma 2.2.1.
Combinig
the two
lemmas
we canconcludethat:
Theorem
3.3.2
(Decrease in
Maximum
correlation)
-Given
azero-meanstationary
correlatedGaussian
process,
witha normalized correlationfunction
p{r),
clippedatlevel
a,
withacorresponding
unnormalized correlationfunction
R(t),
the
peakof
the
output correlationR(0)
as afunction
of
the
clipping
valueais:
R(0)
=A
-erf
(a)
-erf{-a)
(3.14)
where
erf
(a)
is
the
Gaussian
errorfunction,
(as
defined
in
B.2.2).
Chapter
4
Statistical Simulation
The
numerical resultsderived
from
the
generalVan Vleck Theorem
(2.1.1)
weretested
against real cases
through
a statistical simulation.The
goal ofthis
simulation wasto
compare
the
correlation ofthe
continuousinput
noiseto the
corresponding
binary
noisewhich wasgenerated
through
athresholding
process.The
continuousGaussian
whitenoisewas correlated
by
using
various correlationfunctions
to
simulatedifferent
possibleinput
correlation
functions. Due
to the
assumption ofergodicity,
numerousfinite (256
samples)
realizationswere generatedand averaged
to
simulate a singleinfinite
randomprocess.4.1
Steps
of
the
Simulation
A flowchart
ofthe
simulationis
shownin Figure
4.
1
.Three
parameters are enteredinto
the
process:1. p(r)
-the
correlationfunction,
2. N
-the
numberofiterations,
and3.
{A}
-the
set ofclipping
values.CHAPTER
4.
STATISTICAL
SIMULATION
38
SIMULATION
'
P(x)
Correlation Function
'N
Number
ofIterations
T
/
ForN
\
\
Repeat
/
GEN.
GAUS
WOISE
n(x)
Gaussian White Noise
GEN. CORK
NOISE
c(x)
Correlated Noise
CUP
'
A
Setof
Clip
Values
t
For
aliain
Clip
Set Acl(x)
Corr. Clipped Noise
FIND
CORRELATION)
P(x)
Correlation func.of Unclippednoise
Correlation func.of Clipped
Noise
CALCULATE
TRC
Rvs.
p
CHAPTER 4.
STATISTICAL
SIMULATION
39
Table 4.1:
Parameters for
statistical simulationInput
Parameters list
Signal Size
(pixels)
256
Number of
iterations
500
Correlation Functions
RECT.3
RECT.5 RECT.7
RECT.31
TRI.3 TRI.5 TRI_7 TRI.31
HANNING.7 HANNING.13
Clipping
values -1.0, -0.5, -0.2, -0.1,0.0,
0.1, 0.2, 0.5,
1.0
Four
submodels areusedin
the
flowchart:
1.
Generate Gaussian
noise2. Generate
correlated noise3.
Clip
4. Find
correlationThese
modelsarediscussed in
the
following
sections.4.1.1
Input
Parameters
The
simulation was repeatedfor
ait possible combinations ofthe
input
parameters.For
ease of
display,
only
the
parametersdepicted in Table 4.1
willbe discussed.
The
resultsusing
these
input
parametersarerepresentativeenoughto
alludeto the
generalcase. 'Correlation Function
Various
correlationfunctions
weretested throughthe
simulation.It
shouldbe
notedthat
the
correlation
function
is
given as afunction
whoseautocorrelation
is
the
desired
correlationThe
functions in
the tableare postnxedby
theirsupport(width)
e.g.TRI Jl is
a triangularfunction
CHAPTER
4.
STATISTICAL
SIMULATION
40
function.
given
f(x)
s.t.p(x)
=f(x)
+f(x)
(4.1)
The
simulation
wasrepeated
for
various correlationfunctions
aslisted in
the
previoustable
(Table 4.1).
Due
to
the
fact
that the correlation
(or
convolutionfor
that
case,
being
areal
symmetric
input
function),
is
performed
via aFourier
Transform,
the
support(width)
of
the
input function
wasrestricted,
because
the
Discrete
Fourier Transform (FFT
in
this
case)
assumes
periodicity,
To
guarantee
that
noaliasing
occursdue
to the
input
correlationfunction,
the
support ofthe
input
function
was restrictedto
less
than
half
ofthe
FFT
support:
p{r)
= -[-1.0,1.0]
|rj
<
64
0
64
<
W\
<
128
Number
ofIterations
The
simulationwas repeatedfor
variousnumbers ofiterations. In
this
chapterthe
resultsof
500 iterations
perthreshold
per correlationareevaluated.Due
to the
ergodic natureofthe
process,
averaging
overthe
ensemble(number
ofiterations)
is identical
to
averaging
over
time
(i.e.
widthofthe
signal)
sothat there
is
atradeoff
between
the two
parameters.By breaking
up
the
Gaussian
noiseinto
small groups of256
pixels afaster
simulationis
achieved.
Still,
due
to the
usage ofthe
FFT
in
the
simulationthe
process can nolonger
be
CHAPTER
4.
STATISTICAL SIMULATION
41
Set
ofClip
Values
A
set ofclipping
values was chosento
illustrate
allpossiblethresholdvalues.As discussed
in Section
3.2.1
for
adepth
(values
perpixel)
of256