Rochester Institute of Technology
RIT Scholar Works
Theses
Thesis/Dissertation Collections
10-5-1992
Detection of particles and estimation of size
distribution in process fluids
Bo Li
Follow this and additional works at:
http://scholarworks.rit.edu/theses
MASTER'S THESIS
DETECTION OF PARTICLES AND ESTIMATION
OF SIZE DISTRIBUTION IN PROCESS FLUIDS
by
BoLi
B.S. QingHua University, China
(1986)
A thesis submitted in partial fulfillment of the
requirements for the degree of Master of Science
in the Center for Imaging Science
in the College of Imaging Arts and Sciences
of the Rochester Institute of Technology
September 1992
Signature of the Author:
_
Accepted by:
_
CENTER FOR IMAGING SCIENCE
COLLEGE OF IMAGING ARTS AND SCIENCES
ROCHESTER INSTITUTE OF TECHNOLOGY
ROCHESTER, NEW YORK
CERTIFICATE OF APPROVAL
DETECTION OF PARTICLES AND ESTIMATION
OF SIZE DISTRIBUTION IN PROCESS FLUIDS
The M.S. Degree Thesis of Bo Li
has been examined and approved by the
thesis committee as satisfactory for the
thesis requirement for the
Master of Science degree
Dr. E. Dougherty (Thesis Advisor)
Prof.
R.
Waag, University of.Rochester
Dr. Mehdi Vaez-Iravani, R.I.T.
THESIS RELEASE PERMISION FORM
ROCHESTER INSTITUTE OF TECHNOLOGY
COLLEGE OF IMAGING ARTS AND SCIENCES
CENTER FOR IMAGING SCIENCE
DETECTION OF PARTICLES AND ESTIMATION
OF SIZE DISTRIBUTION IN PROCESS FLUIDS
I. Bo Li. hereby grant pennission to the Wallace Memorial Library of R.I.T. to reproduce
my thesis in whole or in part. Any reproduction will not be for commercial use or profit.
Signature:_ _
~_
Date:
¥_L..--_·_~
__
/_/f:_~_~
_
Abstract
Process fluidsmaybe degraded
by
largeconcentrations of suspendedparticles,formationsof gel slugs, or the infiltration of air bubbles. The scattering of ultrasound is dependent upon the relation of the wavelength and the
scatterers'
dimensions.
Relatively
large objects areeasily detected becauseoftheirstrong scattering in theshortwavelength limitAcknowledgments
The project has been supported
by
Eastman KodakCompany
(Kodak). Some previouswork, which was also supported
by
Kodak,
in ultrasonic visualization of process fluidswas carried out
by
K.Udy
andProf. R.Waag
atUniversity
ofRochester. The ultrasonicimager,
ACUSON128,
is an instrument of the ultrasonic research lab inUniversity
ofRochester. All algorithms have beenperformedon the digital image processingsystemat
analytical
imaging
systemsgroup in Eastman Kodak Company.I wouldliketo thankRobert
Kraus,
the ultrasoundprojectleader,
SteveClyde,
atKodak,
andMs. L. Hinkelman at
University
ofRochesterfortheir tremendous efforts andhelp
in thefollowing
aspects:*)
preparation of polystyrenelatex sphereparticles and processfluids.*)
setting up afluid circulatingsystem witha connected ultrasonictransducer.*)
mountingthe transducertoan ultrasonicimagerandrecordingultrasonicimagesofparticlesinprocessfluids.
I would also like to thank Prof. R.
Waag
for his advice in ultrasonictheory
andexperiments.
Finally,
IwishtoparticularlythankR. Krausagainfor hisconsistent and great support andDedication
This thesis is dedicatedtomy wife,Julie andour
lovely
newborn, Jennifer. Shewas bornTableof
Contents
Abstract
ivTableof
Contents
viiListofFigures ix
ListofTables x
1.0 Introduction 1
1.1 Ultrasonic
Imaging
41.1.1
Scattering
Theory
41.1.2 B-Scan ExperimentFundamentals 7
1.2 SpatialandTemporal
Differencing
andFiltering
1 11.3Particle Recognition 13
1.3.1
Spatially Varying
ThresholdandBinary
ImageMeasurements 131.3.2The MorphologicalSegmentationon
Touching
Particles 171.4Statistical RegressiDn 19
1.4.1 Least-Squarer Regression 19
1.4.2Least-Squares Regression for Normal Distribution 21
1.4.3Least-Squares Regression for Exponential Function 23
2.0 StatementofWork 24
2.1 Process Fluid PreparationandParticle Distribution Selection 24
2.2
Circulating
System,
UltrasonicImager,
andImageAcquisition 272.3 Image
Analysis
andProcessing
System 29 2.3.1 ImageDigitization,
ROISegmentation,
andNoise Suppression 292.3.2 Regional
Scatterers
ClassificationandSegmentation 312.3.3 ObservedParticle Area Distribution fromDispersion 36
2.4
Stability
ofObservationData Distribution 382.5 Observed Particle Distributionsfrom All Fluids 40
3.0 AnalysisofResults 44
3. 1 Regression andEstimation 44
3.1.1 Regression for Original Particle Distribution 44
3.1.2 Regression forObservedParticle Distribution 47
3.1.3 EstimationofSystem Parameter from Each Fluid 56
3. 1.4Invariance oftheSystem Parameter 60
3.2 EstimationofInput ParticleSize Distribution 63
4.0
Summary
andConclusions 655.0 Appendix The DerivationofPartialDerivatives 67
List
ofFigures
Fig. 1.1 The relationship betweenacoustic wavelength
(X)
and particle radius(r)
4Fig. 1.2Schematicdecibelresponse of
P,/Pe
vs.log(r)
7Fig. 1.3 Anultrasonicimageofparticlesinfluid 9
Fig. 1.4Spatial
differencing
algorithm structurefora3x3window 12Fig. 1.5
Gray
level ROIandthespatialdifferential image 14Fig. 1.6Thresholdarea andthresholdfunction t(v, g,)at
-6,
0,
6 dB 15Fig. 1.7 The
binary
ultrasonicimageofFig
1.5 15Fig. 1.8
(1)
Convexobject(2)
Non-convexobject(3)
Convex hullof(2)
16Fig. 1.9Anexample of
binary
watershed segmentationalgorithm 1 8Fig. 1.10Curvesof errors
during
minimizingeachpartialderivative 22Fig. 2. 1 Size distributionoforiginal particlesvs.radius
(r)
26Fig.2.2
Circulating
fluidconfiguration[15]
27Fig.2.3Thewhole ultrasonicimagedisplayedonAcuson 128 28
Fig.2.4
(a)
Differential Image (top),(b)
Binary
Image(bottom)
3 1Fig. 2.5
(a)
Ultimateerosion setofparticlesinbinary
image(Top)
(b)
Particles after watershed segmentation(Bottom)
34Fig. 2.6 Final Layoutofthe outputimage
(Top)
Original imagewindow(Middle)
Differentialimage.(Bottom)
Finalsegmented particles(Upper-Right)
Statusoftheimager(Lower-Right)
Statisticalresults 35Fig. 2.7 Anormalizedobservationdata distribution 37
Fig.2.8 Output distribution in different samplingperiods
(1)
20seconds.(2)
30seconds.(3)
40seconds.(4)
All(2)-(4)
38Fig. 2.9 Observed distributions from
dispersion,
gel,andemulsion,respectively 41Fig. 3.1 (a). Original particledistribution vs.
log(r)
(b).
(a)
anditsnormaldistributionregression. 45Fig. 3.2 Anormalized observationparticledistribution in dispersion 47
Fig. 3.3Observedparticledistributions in dispersionandtheirexponential regression 53
Fig. 3.4 Observedparticledistributions ingel andtheirexponential regression 54
Fig. 3.5Observedparticledistributions inemulsion andtheirexponential regression 55
Fig. 3.6Systemconfigurationand particledistributionatinputand output 57
List
ofTables
Table 1. Table 1. Measured ParticleRadius Probabilities 25
Table 2. DataofBlobs Before Segmentation 32
Table 3. DataofBlobs (i.e
Particles)
AfterSegmentation 33Table 4. Probabilitiesof
log(r)
45Table 5.q's obtainedfrom dispersion withdifferentconcentrationsandsignalgains 51 Table 6. q's obtainedfromgel withdifferent fluidconcentrations and signalgains 5 1 Table 7.q's obtainedfromemulsionwithdifferent fluidconcentrations andsignalgains52 Table8.q'swith minimumstandarddeviation
oq
in Table 5-7 respectively 52 Table9. Systemparameterc's obtainedfrom Table8by
applying(36)
601.0 Introduction
Processfluidsmay bedegraded
by
largeconcentrations of suspendedparticles,formationsof gel slugs, or the infiltration of air bubbles. Occurrences of these anomalies are
unpredictable and aredifficulttoobserveifthefluidis
flowing
through anopaque tubeoris sensitivetolight. Onemethod of
detecting
undesirableprocess conditionsistodrawandanalyzefluidsamples.
However,
thismethodmay disruptthesystem eachtimea sampleistaken.
Also,
the results ofthe analysis may not be representative of transient conditionsthat may have existed beforeor occurred afterthe sample was taken. A methodwhich is
noninvasive and which allows particle suspensions in process fluids to be monitored in
realtimeisthereforedesirable.
Mecocci hasproposedaPC-basedsystem tomonitor transparentfluid film [01]. Thesys
temis usedtoreplacehumanfilm
inspectors,
butthis system wasdesignedtodetect largeobjects (size in cm) and assumed no particle overlap
during
detection.Also,
it did notattempt to estimate particle distributions in process fluid. This needs statistical analysis
fromobservationdata.
In the past, acoustic waves have proven useful in the nondestructive evaluation of
materials [02]. Since these waves do not cause ionization and because
they
allow investigation inrealtime,withoutdisturbing
thephysical systeminquestion,they
arewellsuitedforthestudyoffluids movingthroughflowtubes.
contami-nants also suggest the use of acoustic waves in
detecting
andcharacterizing anomalousconditions.
Process
fluids which contain particles have scattering characteristics thatdependon particlesize, concentration,anddistribution.
Thus,
by
observingchanges intheultrasonicimages received, undesirable conditionsmay be determined in the fluidon line
andinrealtime.
According
toacoustic theory,long
wavelength ultrasound is scatteredweaklyby
objectsand short wavelength ultrasound is scatteredstrongly
by
objects. So particles are hardtodetect in theregion ofthe
long
wavelength limit andeasily detected in the region oftheshort wavelength limit. A
long
wavelength limit(LWL)
region is where the ultrasonicwavelength is much greaterthan theparticle sizetobe
detected;
a shortwavelength limit(SWL)
region is where the ultrasonic wavelengthismuch less than theparticlesize tobedetected. Since the scatteringcharacteristics of ultrasound are wellknown in the regions
ofboth LWLandSWL
[03],
wearegoingtoinvestigatetheproperties of particledistribution in the ultrasonic image in the intermediate region where ultrasonic wavelength is
comparable withthe size ofparticles.
Hence,
it is very importanttoinvestigate theintermediate region ofultrasound sothatultrasonicdetectioncan be applied
fully,
extensively,andthoroughly.
arerecorded
by
aVCR. A variety of ultrasonic operating frequencies areavailable, but 5MHzisselectedformost oftheexperimental work.
After the ultrasonic images have been recorded, a sequence ofimage processing tech
niques isused toextractinformation.These techniquesinclude
digitization,
classification,and a number of morphological operations.
Following
the ultrasonicimaging,
real-timeimage processing, and automatic data gathering, an exponential regression model forthe
observed particledistribution is developedand astatisticalestimatoris derivedtoestimate
the variance oftheoriginal particle size distribution fromthe observeddata via a system
parameter.While it is certainly true that the system parameterdepends ontheparticles of
the ultrasonic
imaging
and image processing employed, akey
aspect ofthe study is toshow that,withinan acceptablelevelvariability, the systemparameteris invariantrelative
to the various process fluids of
interest,
namely,dispersion,
gel, emulsion. Invariance isstatistically demonstrated
by
using fixed-effectsanalysis of varianceto showthat thenullhypothesis of system-parameterequalityoverthe threefluids is accepted atthe 0.05 level
of significance. Invariance
having
beendemonstrated,
thefinalvalue ofthe system parameteristaken to be theaverageofthe threevalues fromthe different fluids. Both the theo
retical basis ofthis approach andexperimental methods are describedand theresults are
1.1
Ultrasonic
Imaging
1.1.1
Scattering
Theory
When sound travelsin amedium, it is reflectedor scattered atthe interfaces ofdifferent
kinds of materialsitencounters.Rayleigh scattering
(long
wavelengthlimit)
occurs whenthe size of theobject ultrasound "illuminates" is much smallerthan the ultrasonic wave
length,
and specular reflection (short wavelengthlimit)
occurs when the object size ismuch greater than the wavelength. Fig. 1.1 illustrates the relationships between acoustic
wavelength
(X)
and particle radius (r).Ultrasonic source
(
aperature=a)
Pe:emitted signal
Pr.returned signal
Sphereparticles
(
radius=r)
Ifweletk=
2nfk,
where k iscalled wavenumber,then
kr 1 => Rayleigh
Scattering
kr\ => Specular Reflection
The amount of returned echo of scattering or reflection is measured
by
the ratioPfJPe,
where
Pe
is the power emittedby
the transducerwith aperture a (Fig.1.1)
andPr
is thereceived echo power. That
is,
Pr
is thereturned powerafterit has propagatedthrough themedium andbeen reflected at objectinterfaces.
The Kirchoff approximation
[03]
gives the result ofPrlPe
for reflection from a largesphere whenkr 1:
pr
rVk
=~a?
(1)
where T is the reflectioncoefficient andR is the distance fromtheacoustic source to the
object.
Also,
a simplified approximation on particles like small rigid spheres under some additionalassumptions is foundwhenkr 1:
Pr
25k4"6The decibel is generally used as the unit of the ratio
Pr
IPe. When we focus only on thedecibelrelationships between
Pr
IPe
and particle radiusrby
takingthelogarithmofbothsides,thenfunctions
(1)
and(2)
becomelog
U-
|
-log
{/)
=21og
(r)
jfcr 1.
(3)
logffflO-logtr6)
=61og(r)
kr\.(4)
Therestrictionsofkr here carry theabove approximations.Fig. 1.2gives thedecibelecho
response curves vs.
logir,
ofdifferentmaterials. Notethat the regionofkr near 1 cannotbe plottedbecauseapproximationswerederivedundereither(kr
1)
or(kr 1).It can be seen that these curves are all linear with different slopes and offsets in the
Rayleigh scattering region and the specular reflection region (the linear curve is from
log(PrIPe)
vs.log(r)
). The linear relation is obtained from the approximation ofeither(kr
1)
or (k r 1). Butthe theorydoes not give usa simple linearapproximation inlog(P/Pe)
Fig. 1.2 SchematicDecibel Responseof
P/Pe
vs.log(r)
(1)
Gel-PSL(2)
Dispersion-PSL(3)
Emulsion-PSLlog(r)
1.1.2 B-Scan Experiment Fundamentals
The ultrasonic imager used in this experiment is based on the pulse-echo and B-scan
principle[04].
According
to thepulse-echoprinciple,atransducer sends an acoustic pulsethroughsometransmissionmedium.Thepulseissubsequentlyreflected
by
discontinuitiesin the medium and later received
by
the same transducer. The locations ofthe acousticinterfaces in the fluid are determined from the times oftravel and the speed of sound. A
linear array of transducer elements can be used to implement the B-scan principle in
are then positioned on a
display
according to their times of arrival and transducer positions. With a lineararray, across-sectional image isobtained
by
sequentially pulsing theelement inthe array.Echosignal amplitudes aredisplayed in araster.
Repeating
this pro cess rapidlycomparedto themovements of echoesbeing
imagedproduces a sequence ofB-scans which shows motion and may be recorded on video tape.
Actually,
each ultrasonic beamisgenerated
by
agroupof elementswhich arefiredwith small timedifferenceso that thebeamcouldfocus well at a certaindepth
([13],
[14]).In the experimental system employed in this study, particles or other anomalies which
have acoustic impedance properties that differ from those ofthe fluid form acoustic dis
continuities. Itis fromthediscontinuitiesthat theultrasonic signalisreflectedor scattered.
The B-scanimagethencontainsinformationaboutallscatterersinthecross-section ofthe
medium through which the acoustic signals are sent.
Thus,
with thecombination ofthepulse-echo and B-scan principles, the task of
displaying
atwo-dimensional section ofamedium andmonitoringthe contentsoftheprocess fluidas it flows is accomplished. An
ultrasonicimageof particles inprocessfluidis shownin
Fig
1.3.Sinceparticles arerepresented
by
echoesintheultrasonicimage,
wefindthatnot all parti cles in fluids are resolved. Although particles are not physicallytouching
influid,
theirsometime that some echoes are not independentin theultrasonic images. Some ofthese
unresolved echoes couldbesegmented
by
image processingtechniques.Since theechoes ofparticles, not particles themselves, are seen in theultrasonic
images,
we can only process these echoes to obtain their information such as area,
location,
andperimeters. But forsimplicity, we use theword particlesto representtheechoes ofparti
clesintheultrasonicimageinthispaper.For
instance,
aparticlearea meansthearea oftheparticle's echo in
image,
not the actual one; andtouching
or multi-particles mean someechoes of particleswhichcannotberesolved
by
the B-scanand theseechoes are not separateintheultrasonic image.
'
TCR 8:58: 39! 86
>-.i.i... :3MIM
--lJf-~ L558 MPT1
PS8 =
3SiI 8/3/S SI*=
-**
5555r"
- *<<
mi
It is importanttonotethataparticle mustbe centeredinthe ultrasonicbeam toobtain the
maximum echo ofreflection. Iftheparticleis only partially inthe
beam,
ormoves out ofitaltogether, reduction or complete loss of the return signal will occur. Some changes of
appearance ofthe scatterers in the sequential ultrasonic images can be explained
by
therelative positions ofthe scatterersandthecenter oftheultrasonicbeam.
While moving particles i.i fluids can be detected
by
a B-scan imager and recorded onvideotape, image processing techniquesare neededtoextractinformationfromthevideo
tape. Thefirst step in theimage processing sequenceis tofind only movingparticles ina
digitized sequence of videoimages. Theultrasonicimagesconsist notonlyofmovingpar
ticles, but also of a backgroundwhich changes in terms of signalgain ofthe imager and
slow variation of the loss properties of the fluids. It is necessary to eliminate the back
ground inordertoimprove the signalto noise ratio ofthe imagedparticles. An approach
1.2 Spatial
andTemporal
Differencing
andFiltering
Todetect amovingtarget.Rauchand othershaveproposedtheuse of temporaldifferential
filters to detect changes in the image [05].
Unfortunately,
most algorithms designed todetect changes caused
by
moving targets also detect changes introducedby
backgroundmotion. Pattersonand others haveevaluated severalnewalgorithms andproposedthebest
solution amongthem
[06]
The spatial differential algorithm is a nonlinear three-dimensional filter which is essen
tially
anadhocextensionofan algorithmfromthefieldofpatternrecognition, theKnearest neighbor classifier[071. The spatial differential algorithm works on atime sequential
set of sub-windows ofthe spatialimage in the samefashion asthe spatialtemporal adap
tivefilter (Fig. 1.4). Thealgorithmtakesthecenter pixelin awindowin thecurrentimage
frame and subtracts all the pixels in the window fromprevious frame. Theoutput ofthe
filter isthe magnitudeofthe smallestdifference. This hastheeffect ofcancelling features
in the images which are correlated both spatially andtemporally. Theoutput
image, Gn,
froman NxNspatial
differencing
filterwhenappliedto themxmimageFn
attime n,isG
=min{
IFn>
tj
-Fn.lf
i+kJ+i I}
(5)
where
i, j,
k, I,
n areintegors andk,
h NN'
~2'
2.
,i,je mxm
(6)
A logical extension ofthis algorithmisto use boththeprecedingand
following
framestoprovidedata forthealgorithm. This double-sided
differencing
subtractsthecenter pixelinthewindow from allthepixelsinboththeprecedingand
following
framesand outputsthemagnitude ofthe smallestdifference.Tests haveshownthat thisalgorithmexhibitsperfor
mance whichissuperiortoother algorithms[05]. This idea is goingtobeappliedtoobtain
differential images witheliminatedbackgroundand suppressed noise.
'n-1,
i-1,j-l"n-l,i-l,j
Fn-l,i-l,j+l
'n-1,
i,j-lFn-l,i,j
Fn-1,
i,j+l"n-1,
i+lj-l"n-1,
i+l,jFn-1,
i+l,j+l1.3
Particle Recognition
In this section, the methods ofrecognizing particles in fluids are going to be discussed.
Particle classificationis made on
binary
images obtainedby
applying a spatially varyingthresholdfunctionon gray level differential images.
1.3.1
Spatially Varying
ThresholdandBinary
Image MeasurementsAfterthe differentialultrasonic imageshave been obtained, aspatially varying threshold
function is going to be applied to obtain
binary
images. Before we do that, we need tolocate the
boundary
oftht fluidarea on the screen thatis theRegionOf
Interest(ROI)
tobe processed. It is importantto select a ROI sothat the quantityofdata isreduced. Inthe
area offluid
(ROI),
a singlethresholddoesnotwork well becausethebackgroundofultrasonic images isnotuniform,sothat thenoiseisnotevenly distributedthroughout theROI.
Fig. 1.5 shows theROIof
Fig
1.3 and adifferential image from it. We findthat thebackgroundis brighteratthe topandbottomthanit is atthecenteroftheflowchannel. Sothe
noise amplitudein thedifferentialimages isnotevenly distributed.
Furthermore,
thebackground is also affected
by
signal gain. So we have decided to use a threshold functionalongtheverticaldirectionoftheROIandthefunction isalso changedintermsofthe sig
nal gain.
The thresholdfunction is defined as T - t(v,
g), where v isthe vertical coordinate ofthe
ROIandg is thesignal gain(whichisone of-12, -6,
0,
6,
12 dB). Several functionscanbeusedas the threshold function. For simplicity andfastoperation, the ROI is divided into
threerectangularranges and asinglethresholdvalueisappliedin each region. Fig. 1.6 illustrates
threeofthethreshold
functions
at-6 dB 0dB and6dB,
respectively.Wemakeupalook-up
table for both the sizes oftheranges (heightswl,w2, w3in Fig.1.6)
andtheir threshold values undereach signal gain.
Thus,
thethresholdfunctiont(v, g)isassociatedwiththeROIvertical coordinateand signal gains.
Fig
1.7 isabinary
image resulting fromthethresholdfunctiononthedifferentialimageinFig
1.5.0
Threshold
Area inROIat6 dBt
(v,
g)wl
V
wl
w>2
vv3
w2 w3
6dB
OdB
-6dB
Fig
1.6 Thresholdarea andthresholdfunction t(v, g)at-6,0and6 dBFig. 1.7 The
binary
ultrasonicimageofFig
1.5Afterthe
binary
image has beenobtained,measurementofbinary
objects needstoberealized. We use blobs to represent any continuous object
(echo)
areas in thebinary
image(Fig. 1.7). Some important measurement parameters are the area
(i.e.,
pixel number) ofeach
blob,
numberofblobs
intheimage,
andtheboundary
ofeachblob. Wehaveselectedan algorithm which issupported
by
hardware
toaccomplishthemeasurements.An object doesn't always representan independentparticle. Itis only an isolated
binary
blob in the
image.
Sometimes,
ifparticles are touching, or overlapping, the object lookslikemulti-particlesinthe
binary
image.Thus,
wefindthatparticlesdetectedby
ultrasoundcan be classified into two categories: independentparticles andmulti-particles
touching
each other.These twocategories aregoingtobeprocessedin differentways. Todoso,we
apply
binary
morphologicalimageprocessing[8, 9,
17].Since anindependentparticle shouldhaveanessentiallyconvex shape and a multi-particle
object a nonconvex shape in the
binary
image,
the two categories ofparticlescan be distinguished
by
the difference between the perimeters of an object and its convex hull.Mathematically,
a convex areais described asan areawhichcannotbecutthroughby
anytangentofit. Fig. 1.8 illustratestheseconcepts.
(1)
(2)
(3)
1.3.2 The Morphological
Segmentation
onTouching
ParticlesAfterallblobs areclassifiedinto independentparticles and
touching
ones, analgorithmisusedtosegment
touching
particlesinordertoobtaintheareaofeachindividualparticleinthe
binary
image. The particular algorithm we apply is thebinary
watershed, which iscomposed of a number of morphological operations. Its action is to segment touching
(overlapping)
binary
particles in such a way as to maintaintheintegrity
ofeach particle.There aretwo main steps when applyingthe watershed algorithm. The first isto findthe
ultimate erosion set ofthe
touching
particle sothat the pseudo-center ofeach particle inthe
touching
areacanbe addressed.Thesecondistobuild upthedivide lines amongthesepseudo-centers inside the
boundary
of touching blob. These divide lines segment thetouching
particles. (Fordetailsofthebinary
watershed,see[10],
[12]).Fig.
1.9(a)
shows an example ofoverlappingparticles andFig.1.9(b)
illustrates the ultimate erosion set in
determining
all pseudo-centersin touchingparticles. Fig.1.9(c)
givesthe procedures of setting up watershed divide lines in separating the
touching
particles.These figures arefrom [10].
Afterthe watershed segmentation algorithm is appliedon the
binary
image,
alltouching
particles are properly segmented. Then we measure the area ofeach individual particle.
Those areas compose the observed particle sizedistribution which is going to be statisti
callyanalyzed.Themethodsaregoing tobe discussed innextSection.
(a)
Atouching
blob(b)
Ultimateerosionset of(a)
(c)
Proceduresofbuilding
upthedivide lines1.4
Statistical Estimation
1.4.1
Least-Squares Regression
The principle ofleast-squares errors is to minimize (with respect to some criterion) the
vertical distances oftheobservationdata setto thefittedmodel. Theresults are the
least-squares estimatorsforthemodel parameters.
Using
theproperties ofthese estimators,itis possibletomakeinferencesregardingtheparametersintheunderlyingmodel [11].Intheclassicaldeterministic setting, adependentvariabley isconsideredto beafunction
y(x) of an independent variable x
if,
given x, there exists an exact corresponding value y = y(x). The independentvariablex will continue tobe deterministic but thedependentvariable
Y,
called a response variable,is consideredto be random.Consequently,
givenx,thebestthatcanbe done istoarrive at some prediction ofY. Inpractice, toaccomplish the
estimation,observations will be made atnpoints,x\,X2, ....xn, each
x,-being
knownas aregressor orpredictor variable. The resultis adata set consisting of n points ofthe form
(xi,
yi),eachy,-being
a sample value oftherandomvariableFix,-.Ifyi = yfxf), i=
0, 1,
..., n,is theobservationdata set and
ffri)
is used to estimatey(xj) inthesamedomainofx,wedefine
e(xi)=y(xi)-f(xi)
(7)
as theerroroftheestimation at point jc,-. The least-squares estimates are selected so as to
minimizethe sum ofthesquares ofthese residuals.The sumis calledthe sum of squares error
(SSE)
andis givenby
SSE=
Xe/
=S
(?(*i>
-/<*/))2
<8>
i=l i=l
Minimization ofSSE results in a sample regressionmodel
f(x)
that best fits theobservationaldatasety(xi),
i=l, 2,
...n.To accomplish the minimization of
SSE,
partial derivatives ofSSE are investigated. Letthe estimation
f(x{)
be a function with m parameters: Pj , P2 >Pm-Then/fx,)
can be expressed in anotherform:/(x,-)
=f(X( \p\
,P2> >Pm ) ^e parameters determine thefunction
f(x)
atthepointx,,i=1, 2,
..., n. All
(X,-,
y,jareknownfrom observationdataset,only pi ,P2, .-,pmaretobeestimated.
Treating
SSEas afunctionof variablesPi ,pi, ...,pm,minimization canbe accomplishedby
taking
partialderivativesandsettingthemequaltozero.-SSE
= -2Y
[
(y
(x.)
-f(xi))^-f(xi) = 0 7=1,2, ...,m.(9)
1.4.2
Least-Squares
Regression forNormal DistributionIf
f(x)
isaverticallyscaledGaussian,
then therearetwoparametersin(*-n)2
fix)
=/(*|u.,o) = -jL-e 22(10)
V27XO
f(x)
is aprobabilitydensity
functionwith mean(i andvariance a2.By
putting(10)
into(9),
the two partial derivatives of normal distribution are (seeAppendix for derivation):
^SSE=
^xT(l)-^xT(0)
(11)
-SSE
=*xT(2)-^xT(l)+l
r^-i|xr(0)
(12)
where
T(w)
=[ (/(x,)
-v,)/^.^] w=0,l,2.
(13)
.= i
It is not apparenttoresolve themathematical solutions of[Iand afromthese two partial
derivative
functions; however,
our goalistomake them closetozeroby
adjusting|iandoso that the minimization can be practically reached under this approximation. Several
numeral approachesare availablein [16].
3000
2500
6 2000 ^1500 w
w 1000
CO "0 500
80 100
regression index i
0 20 40 60 80 100
regression index i
Squares Sum of Error
20 40 60 80 100
regression index i
Fig
1.10Curvesof errorsduring
minimizing SSE.(a)
partialderivativeon[i(top)
(b)
partialderivativeona(middle)
(c)
CurveofSSE(bottom)
Thepracticalrealizationoftheminimizationis done
by
thefollowing
steps:1)
settheinitialvalues of u, andatof(x)fromsome ofthe(x,-,
y,J.2)
compute thetwopartialderivativesandtheirsigns.3)
adjusttheseparameterstodecreasetheabsolutevalues ofthe twopartialderivativesachieved.
Inthestep
(3),
since alltwopartialderivatives are in directproportionto u anda,respectively
(seeAppendix),
the values of the partial derivatives can be increased(decreased)
gradually
by
adding(reducing)
u. ando,respectively.Whentheupdated partialderivativesarerelativelycloseenoughto zero, thenumeralminimization approximationisconsidered
to be reached and these (i and o are used as the parameters for/fx).
Fig
1.10 giveserrorcurves ofthesepartialderivativesofSSE.
1.4.3 Least-SquaresRegression for Exponential Function
Ifthe function to be regressed is an exponential
density
function,
only oneparameter isgoingtobe determined. Let
f(x)
= ae-axa>0
(14)
whereaneedstobe found
by
theregression.FromthepartialderivativeexpressionofSSEin
(9),
thepartialderivativeof ais (see Appendix forderivation)
3-SSE=-xT(0)-2xT(l)
(15)
da a
T(w),
w=0,
1,
is defined inEquation (13). Themethod ofminimizing SSE isthe same astheone we statedintheprevious section.
2.0
Statement
ofWork
Since the approximations of
long
and shortwavelength limits have beengiven as linear response curves oflog(P^Pe)
vs.log(r)
(see Eq.(3), (4)
andFig.1.2),
thescatteringcharacteristics of particles may be well understoodin these tworegions. The experiment has beendesigned to findthe scattering characteristics of particles intheintermediateregion
wheretheultrasound wavelengthisnearthe object size(radius).
To study the characteristics in this region with a variety ofindustrial process
fluids,
wehaveselected a particle distributionwitha radius mean
(|ir)
close to theultrasound wave length(X,)
and have measured the observed particle size distribution obtained from the computer.By
analyzingthedistributionofobserveddata,
we are notonlyfinding
thewayof estimating the original distribution but also
determining
the parameters which can describethescattering characteristicsinthisintermediateregion.2.1 Process Fluid
Preparation
andParticle Radius
Distribution
Selection
In the film
industry,
many kinds ofprocess fluids can be selected so that the actions of ultrasound on themcan be understood. Some industrial fluids have beenmadein orderto covercertain variety offluids in real circumstances. Polystyrene latex(PSL)
is selectedhereas theparticle materialin fluids.
Dispersion,
gel,and emulsion are used asthefluids.The particle concentration sequence is
5.0, 10.0,
15.0,
20.0(ppm)
in the threefluids,
incrementtoexaminethe effectsof signal gain onthe ultrasoundimage.
Since 5 MHzis chosen as besttrade-offbetweenpenetration and resolution inultrasound
detection forthis experimentation, it is used as the
frequency
in the experiment and allvelocities ofultrasound in the fluids are near 1500 m/sec. The particle mean should be
near48 micronsinorderto
keep
kr=\. This isbecausek=2nfk and
X
=vlf
then
r=I/k=v/
(2nf)
= 1500/(
2*3.14*5*IO6)
=47.8micron(16)
(17)
(18)
where
X
isultrasoundwavelength,risparticle radiusinmeters(IO6micron),vis velocityof sound
(m/sec)
and/is thefrequency
ofsound (Hz).Table 1 gives themeasured probabilities
(percentage)
ofthepolystyrenelatex atthecentervalue of each radius
(r)
measurement step (increment). These values are measuredby
adevice called Full Range Analyzer
(FRA)
before particles are added to the fluids. Allpointsin Table 1 are illustrated in Fig. 2.1.
r
(microns)
26.17 31.12 37.00 44.00 52.33 62.23 74.00 88.00 104.65 124.45% 0.00 1.97 10.03 25.74 31.48 20.71 8.03 1.88 0.16 0.00
Table 1: Measured Particle Radius
Probabilities
Particle Distribution
vs log(r)1,5 1.6 1.7 1.8 1.9 2 2.1
log(r)
(r:
particle radius)2.2
Circulating
System,
Ultrasonic
Imager,
andImage Acquisition
Tosimulatethe
industrial
process,afluidcirculating
system(Fig.2.2)
is designedtopumpthe test
fluids
through a custom designed flow through cell for ultrasonic imaging. Theinside diameter
(ID)
ofthe cell is the same as theID ofthe connectinghoses,
which aretypicalforprocess use.The attachmentofthe transducer to thecellhasbeen accomplished
in such a way as to
maximizing
transmission of ultrasound into circulating fluidwhile atthe same time
eliminating
artifacts. Details ofthis assemblyare not coveredinthe thesis.Stirrer
cdb
Reservoir
Pump
Chamber.
Transducer
3*Imager
Row-D
Fig. 2.2
Circulating
Fluid Configuration[15]
When the systemhas been setup, thedetectedparticles
(actually,
they
arethe amplitudesof returned echoes) can be displayed on the monitor of the acoustic imager and be
recorded
by
aVCRsimultaneously.Theacousticimagerusedinexperimentsisadiagnostic acousticimagercalledAcuson 128 which hasbeen widelyemployed inmedical
diag
nosis.
Fig
2.3 isone oftheimagesobtainedinthisexperiment. Intheimage,
therearebothxandyaxis scalesfortheobservation window and a small arrowhead ontheleftsideindicates
thefocusoftheacousticbeamssothat thevaliddepthofultrasound canbe foundvisually.
The current status and settings ofthe imager are shown at the upper-right comer ofthe
image,
such asdate,
time,frequency,
signalpower,signal gain(dB),
etc._
:
-TCR
00:53:39:86
>-h.
y
#5-37 18P L55S MP?ri= fc* 628
384 B 8/3/*
s<r*=
2Z
/V
Ui
2.3 Image Analysis
andProcessing
System
Theacousticimagerconverts thereturned ultrasonic echoestoa video signal whichcanbe
displayedonthemonitor andbeabletobeprocessedsimultaneously iftheimageprocess
ing
system is connectedto the acousticimager.Forthis experiment, werecordedthe signal on videotapeforoff-lineprocessingand analysis.
2.3.1 Image
Digitization,
ROISegmentation,
andNoise SuppressionSo farasthedigital imageacquisitionis concerned,themethodforimageacquisitionis to
digitizethevideo signal usinga real time imagedigitization board from DATA CUBE Co.
Itsamples a videoimageframe
by
aformatof512x512x8,
whichmeans512 dotsperscanline,
512 lines per frame and 8 bits (256 greylevels)
per pixel.(Actually,
because oftheTV scanning
format,
only 482 linescan beused anddisplayed so wehavetoconsidertheimage as 512X482 pixels rather than 521X512 pixels.) The digitized images are put in
framememories/buffers(called ROI store) for furtherprocessing. Oursystemhas 2image
hardware banks andeach bank has 8 frame buffers foreight512X512X8 images.
By
taking
advantage of this image processing system, we can process the video signal in realtimeandtheimage fromeachprocessing step canbe storedinthe framebuffers.
From the acoustic image in Fig.
2.3,
it is obvious that we need process onlypart of thewhole
image,
theobservationchannel window.Theultrasonicstatus window attheupper-rightcorner,
however,
is meaningfulto ustoo.We callthesewindows Regions Of Interestmeasuring the coordinates of all
ROIs,
we cutthese ROIs fromtheoriginal image and rearrangethem andthe resultantdatainan outputimage. The layout ofthe final image can
beseenlater.
Since all detected particles are in the fluid channel observation window, only this area
shouldbeprocessed.Theideaofprocessing ROIs inawindowof animage is very impor
tant in processing sequential images (orvideoimage). Because the frame rate is 30 per
second, which means theframeinterval is 1/30 second,thereis not much time toprocess
strictlysequentialimages ina normal playback speed.
Saving
processtimeon eachframeis important.
Using
hardware processing isthekey
issue. Currenttechnology
puts alotofalgorithmsin thehardware.
The averageperiod of each experimentis about aminute, which includes 30X60frames.
We donot restrict ourselvestoprocessexactly frame
by
frame. We considerit is sufficientto process each frame in less thana secondin this study. The processingrate dependson
theoperationsinthealgorithm andhardwareconfigurationofthe system.
Upon
digitization,
noise suppression is required indesigning
the motion detectionalgorithm. Fromthe videotape, we see that particles are moving in a nonuniformback
groundandthe background becomes strongerwhen the signal gain is increased.
Keeping
track of these moving particles from the background is important in further processing.
Sec. 1.2 and Sec. 1.3.1 proposed an algorithm which has proven tobe successful in both
motiondetectionand noisesuppression. Theresult ofapplyingthisalgorithmis illustrated
Fig. 2.4
(a)
Differential Image (top),(b)
Binary
Image(bottom)
2.3.2 RegionalScatterersClassificationandSegmentation
We apply aspatially varyingthreshold functionon thepure particleimagetoget a
binary
image. This image is going to be measured to get the perimeters of all blobs. Because
these blobs areeither independentor touching, we use the
following
procedures to segmentthosemultiparticles
first,
andthenobtain allindividualparticlesthereafter:1)
Findallisolated blobs intheimageandlabelthem2)
Measuretheimageto getperimetersand equivalent convexperimetersof eachblob.3) Classify
independentandtouching
particlesby
theratio oftwoperimeters.4)
Findthearea of eachindependent
particle.5)
Segment
touching
particlesby
watershed algorithm andthencountthese segmentedparticleareasrespectively.
Blob# P
ecp ecp/p area
(pixels)
0 8.000 7.410 0.9268 4
1 6.000 1.000 0.1667 2
2 29.69 28.14 0.9478 53
3 19.02 18.05 0.9488 22
4 15.85 15.95 1.0070 14
5 15.39 15.24 0.9900 13
6 149.6 101.6 0.6791 504
7 22.95 22.53 0.9815 29
8 11.39 9.650 0.8472 7
9 15.39 15.24 0.9900 13
10 10.78 9.830 0.9116 7
11 15.56 14.48 0.9304 16
12 16.00 16.00 1.0000 15
13 30.52 28.31 0.9274 41
14 36.21 35.54 0.9815 67
15 28.12 28.42 1.0110 50
Table 2: Dataofblobs
(i.e.particles)
beforesegmentationp: perimeterofblob
ecp: equivalent convex-hullperimeter
Blob# P ecp ecp/p area
(pixels)
0 8.000 7.410 0.9268 4
1 6.000 1.000 0.1667 2
2 29.69 28.14 0.9478 53
3 28.57 27.91 0.9771 42
4 47.15 44.02 0.9336 118
5 19.02 18.05 0.9488 22
6 15.85 15.95 1.0070 14
7 15.39 15.24 0.9900 13
8 53.08 50.74 0.9559 127
9 59.39 57.25 0.964 191
10 22.95 22.53 0.9815 29
11 11.39 9.650 0.8472 7
12 15.39 15.24 0.9900 13
13 10.78 9.830 0.9116 7
14 15.56 14.48 0.9304 16
15 16.00 16.00 1.0000 15
16 30.52 28.31 0.9274 41
17 36.21 35.54 0.9815 67
18 28.12 28.42 1.0110 50
Table 3: Dataofblobs
(i.e.particles)
after segmentationp: perimeterofblob
ecp: equivalent convex-hullperimeter
area: segmented particle areainpixels
Pixel
connectivity
determines the area of each blob.Searching
the blobboundary
bringsout the perimeter of each
blob.
The equivalent convex hull is the smallest convex blobwhich contains the original one. ECP stands for Equivalent Convex Perimeter ofa blob
(Fig. 1.8). Table2containsdata obtainedfrom the
binary
imageinFig
2.4(b).*
<b
m
V U o
Fig
2.5(a)
Pseudo centersofparticlesinbinary
image(Top)
(b)
Particlesafterwatershedsegmentation(Bottom)
Because theECPwill neverbe greaterthan the realperimeter, themaximum value ofthe
ratiois 1 (somevalues areslightly greaterthan 1 because oftheeffects ofdigitizationof
scaled X/Y aspect ratio). From the values in Table
2,
a significant gap can be foundbetween independentparticlesand
touching
ones(bold ones).Thisiswhywe canclassifybeen
found
after alarge
number of perimeters ofblobs in bothcategorieshave been inves tigated. When amultiparticle blob is classified, the morphological watershed segmentation algorithm is applied on the blob to segment the
touching
particles. Fig.2.5(a)~(b)
illustrate
two ofthosesteps ofthesegmentation.. >'W i
itX "
7X.
>jn v/ >*>*
Frame No. 0
Particle Count
18
Total Area
855
Thresh: Var.
Fig
2.6 Final Layoutoftheoutputimage(Top)
Original imagewindow(Middle)
Differentialimage.(Bottom)
Finalsegmented particles(Upper-Right)
Status oftheimager(Lower-Right)
StatisticalresultsAfterall
touching
particles areproperlysegmented, thebinary
imageshould bemeasuredagain toget the finalparticleareaintheimage. Table 3 shows theparticledata after seg
mentation. Blobs
#3, #4,
#8and#9 inFig 2.5(b)
arethose particles segmentedfrom blob#6 in
Fig
2.4(b).A finalimage withmeasurementresultsis showninFig
2.6.When the image processing is complete, all particles in the ultrasonic image have been
measured. Becauseofapplying hardware operations andoptimal algorithms, the process
ing
time for each image frame is about 0.7-0.8 second, which is considered "realtime"
processing in
dealing
with process fluids. Thenextstep is toperform a statistical analysisontheobservation data.
2.3.3Observed Particle Area Distribution from Dispersion
When each individual particle areahas been obtained, we accumulate all particles in all
sampledimage frames and sortthemin terms of area sothat theparticle area distribution
canbe determined. It is importantto
keep
in mindthat thex-axisalong theparticledistribution should not be the actualdiscretepixel numberof particle. Sincewe took the loga
rithm of particle area (in square microns) as the x-axis of the original
distribution, i.e.,
/og(area)
=log(nr2),
we shouldkeep
theidentical meaningofthex-axis fortheobservation
distribution,
i.e.,
/og(area)
=log(px),
wherepxis thepixelnumber
(area)
oftheparticle observed.
Also,
thecount of particles undereach area shouldbenormalized sothatthey-axis representsthepercentages
(probabilities)
ofparticlesundereach area.particles on the x-axis. Itcomes fromall recognized particles in 59 imagessampled from
40-second
periodsoftheexperimentfor dispersion.Dispersion, 5 ppm, 6dB
0.15
density
0.05
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
Fig. 2.7 A Normalized Observation Data Distribution
2.4
Stability
ofObservation
Data
Distribution
Before examining theexperimentaldata fromvariousfluids andsignalgains, thedistribu
tion stabilityoftheobservationdata shouldbe investigated.Sincetheparticle numberin a
singleimageframe is toosmalltoestimatethedistributionofparticles in
fluid,
we needtorun through a period of experimentationtocollectenoughparticles,notjustthoseinasin
gleframe. What is a sufficientquantityof particles fromwhichastableoutputdistribution
can beobtained? Theeffect of a series of selectedsamplingperiodsfromeach experiment
willbe studied here.
(1)
(3)
12/3/91 Dispersion OdB 1.2ml
loq(r) <r: particle radius)
12/3/91 Disprsion OdB 7.2ml
200 150 o100 u 50 0 loc 12/
v_
u y C o 200 150 Sioo SO 0v__
A K V U 0 E o0.2 0.40.60.8 1 1.2 <r (r: particle radi
3/91 Dispersion OdB 7. J3)
2ml
0.20.40.60.8 1 1.2 log(r) (r: particle radi
12/3/91 Dispersion OdB 7.
J3) 2ml 200 ulSO c ol00 V 50
v^
A it K c o 200 150 O100 u 50L
A fl E o0.2 0.40. 60. B 1 1.2 0.2 0.4 0.6 0.8 1 1.2 log(r) (t: particle radius)
(2)
(4)
Fig. 2.8 OutputDistributionin Different
Sampling
Periods(1)
20 Seconds.(2)
30 Seconds.(3)
40 Seconds.(4)
All(2)-(4)
We selected four periods
(10, 20,
30,
40 in seconds) as the processing periods in theapproximately
50-second-long
experiments to test the fluctuation oftheobserved particlewhatthefluidconcentrations andthesignal gainsare,thenormalized observationdata dis tribution doesn'tchangemuch. Sowe can say that20seconds is
long
enoughtoobtain a stable outputdistribution
from the three kinds offluids underthe currentframesampling
rate.
2.5
Observed Particle
Distributions
from
All
Fluids
Three kinds oftypicalindustrial fluids
(dispersion,
gel andemulsion) are selectedfortheexperiment.
Eachprocessingprocedure goes asbelow:
1)
setupthegain and samplingperiod(20-40seconds)foreach fluid.2)
playbackthevideotape and startsamplinganddigitizationsimultaneously.3)
thresholdimageand segmenttouching
particles.4)
measurebinary
imageof sampledframetogeteachparticle area.5)
accumulate all particles and sort theminterms of areainall sampledframes.6)
take thelogarithmof particle area as x-axis oftheobserveddistribution.7)
normalizetheparticle count at each areaby
thetotalnumber ofdetectedparticles.8)
plottheprobabilitycurve asthe outputdistributionvs. log(px).Allthe fluidswithdifferentconcentrations (5-20ppm)have beenprocessed andtheparti
cle distributions have been obtained.
Fig
2.9(a)~(c)
illustrates some of the results. Ourgoalis tofindtherelationship betweentheoriginaland observeddistributionssothatesti
density
Dispersion, 5 ppm. 6dB
0.2
0.15
0.1
0.05
0 '
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
0.2
Dispersion, 15 ppm. 6dB
0.15
0.1
0.05
n "v/^e-Ay.
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
Fig
2.9(a)
Twoobservedparticledistributionsobtainedfromdispersion.Gel, 10 ppm, OdB
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
Gel, 20 ppm, OdB
density
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log<x) <x: area in pixel)
density
Emulsion, 10 ppm. OdB
0.2
0.15
0.1
0.05
0 .*..'...rfS.^fc-JtaHv'
... 0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
density
Emulsion, 15 ppm. OdB
0.2
0..15
0.1
0.05
fi ".,VV.--ws.fl.
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
Fig
2.9(a)
Two observed particledistributionsobtained fromemulsion(continued).3.0
Analysis
ofResults
Having
obtainedthediscrete distributions
oftheoriginal data (Fig.2.1)
andobservationdata (Fig. 2.9). We needto analyze the two distributions and discovertheirrelationship.
We dothis inthree steps.
First,
fromparticles ineach ofthe threefluids,
apply nonlinearregression to find functional expressions
fitting
the original and observed distributions.Second,
findtherelationshipbetweenthe twosimulation expressionsinordertodeterminesome parameterswhichreflect the ultrasonic systemin theregion ofkr=l.
Third,
test thestability of the system parameter obtained from different concentrations and fluids
by
applyinganalysis of variance.
3.1 Regression
andEstimation
3.1.1. Regression forOriginal ParticleDistribution
The radius probabilities (relative
frequencies)
forthe original particle distribution in allfluidsare givenin Table 1, andthedistributioncurveisplottedin
Fig
2.1. Thecurvedoesnot appear to represent a normal distribution
(ND),
buttaking
the logarithm ofparticleradii
(
log(r) )
yieldsthedistributionofTable 4andFig
3.1(a),
andthisnewdistribution isfit well
by
a normaldistribution (Fig.3.1(b))
obtainedby
numerally rmnimizing the sumof squares of errors (see Appendix I). Several numerical approaches are availablein [11].
The curve of regression possesses mean 1.7056 and standard deviation 0.0918. Because
distribution
risaLog
NormalDistribution
(LND).Particle Distribution vs log(r)
1.5 1.6 1.7 1.8 1.9 2 2.1 log(r) (r: particle radius)
Normal Distribution Regression
1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 log(r) (r: particle radius)
Fig
3. 1 (a). Original Particle Distributionvs.log(r) (top)
(b).(a)
andIts Normal Distribution Regression,(bottom)
log(r)
1.418 1.493 1.568 1.643 1.719 1.794 1.869 1.944 2.020 2.095% 0.00 1.97 10.03 25.74 31.48 20.71 8.03 1.88 0.16 0.00
Table4: Probabilitiesof
log(r)
In orderto
keep
thedistribution's
unitsidenticalatboth input andoutput,wenow take a speciallinearcombinationof
log(r),
i.e.,
x =
2log(
r)
+log(
tx)
=
log(
7tr2)
=
log(
a)
(19)
where
"a"
is the cross-sectional area of
the particle sphere. So we have
\i.iog(a)
=3.91,
andlog(a)
~ 0-1836whichare usedin future. Thereasonfor using
log(a)
ratherthanlog(r)
inestimationis that theultrasonic waveis faced
by
thatarea and what we haverecognizedfromtheultrasonic imageis thedigitalarea of a particleinpixels,whichis therelative areaofthereal
particleunderthecurrent512x482x8image digitization format.
Since the distribution of
log(r)
is normal, so is the distribution oflog(a),
which is a linearfunction oflog(r). This is because ifx is arandom variable, x~N(p.
, a
)
, andy = mx+n,wheremand nare constants. Then
(J.y
=mE[x
]
+n =m\ix+ n
(20)
cy2
=
m2
E[
(x-\yx
)2]
=m2a2(21)
andy= mx+nis
3.1.2
Regression
forObserved Particle
DistributionThe original particle
distribution
have
beendescribedby
themean andstandarddeviation of afitted
normaldistribution,
but it is importanttodiscoverafitted function fortheobservation data so that the
relationship
between input and output distributions can bedescribed.
This is akey
aspectofthe thesis: toregress theobserved distributionby
a continuous mathematical
function
which was not hitherto known. It is thediscovery
ofthemathematical expression that allows estimation of the original distribution
by
using theparameters in the observed
distribution
and system as a whole. We have selected alog-normal distribution as theinput.What is theobserved distribution aftertheoriginal distri
bution hasgone through thesystem?
Dispersion, 5 ppm, 6dB
0.15
density
0.05
0.25 0.5 0.75 1 1.25 1.5 1.75 2 log(x) <x: area in pixel)
Fig
3.2 Anormalized observationdistribution in dispersion (pointsjoined)
We haveapplied polynomial regression.
Any
polynomial canbeexpressed asn-1
f(x)
= ^a,*'(22)
i=0which hasnundeterminedcoefficients,
a,-, i=
0, 1,
...n-1. These
a,-can bedetermined
by
nindependent functionsfromtheobservationdataset
(
XiJiXj)),
i =0,
1,
... n-1.In matrixform
F= A*X
(23)
whereF=
[/7*0
)
/(*!
)
...f(xn.x)], A=[a0
ax ...anA]
and/
X = 1 1 x x 0 1 n-1 n-1 x x 0 1 1 x\
n-1\
n-1 n-1 / ThusA = F*
X"1
iff X isreversible,whichmeansthatall
xt
areindependentobservation data.Any
analyticfunctiong(x)canbe expressedby
aTaylor'sseries at point x0:g(x) =
g(x0)+g'(x0)(x-xQ)+-^-(x-xQ) +... + ^(x-x0) +...
When
x0
=0,
8(x) =
g(0)+g'(0)x+8-^x2
+ ...+
8-^xn+...
(25)
*J! n!
g(n)(0)
withcoefficients
-: .
Witha polynomial regressionfortheobservation
data,
wefoundtheaveraged coefficientsa{ from several sets ofobserved data to be very close to the coefficients of the Taylor's
series ofpe'qx
atxq=
0,
whichis-qx
P* =
P 1 +
(^)
+ffl
+ +2! n!
(26)
Equation
(26)
reminds us of a standard exponentialdensity
functionwhich isae-, x>=0
fix)
0 1
0,
xoHowever,
because we decided to ignore single-pixel particle in observation data asthey
areeasily disrupted
by
noise,thesmallest particle areais2pixels, whichrepresents a particle arearange from 1.5to2.5 pixels in theobservation data.
Moreover,
the exponentialfunctionisobtained after
taking
thelogarithmof pixelarea, sotheregressiondensity
tionoftheactual
distribution
hasa rangefromlog(l.5)
toinfinity,
i.e.pe'**
x>=log(l.5)=0.\16
fix)
;
log(l.5)
= 0.1760 x<
Any density
function shouldhave\f(x)
dx = 1, sothat
\peqxdx
=J
pe-qxdx= 1(27)
log (1.5)
By
resolving(27),
we get/?= 1.5qq.
So, 1.5
V7*,
*>=log(l.5)
=0.176/W=
(28)
L
0,
x<log(\.5) =0.176The regressed exponenti?l distribution function has only one parameter, q to be deter
mined. We apply the method ofleast-squares to find q forthe output distributionestima
tion.
Table 5-7 givethe values ofa, the mean
\iq
and the standardderivationaq
obtainedindispersion,
gel and emulsion, respectively. No matter the fluid concentration and signalgain, the values ofa are quite stable. We select those a'swhich
bring
rninimum standardsome observeddatacurves andtheirexponentialfunctionregressioncurves, whichfitthe
former very well. In the next section, we are going to investigate the system parameter
fromwhichthe mathematical
relationship
betweenobserveddataandtheoriginaldistributioncanbeestablished.
Gain concentrations
(ppm)
mean stddev(dB)
5.0 10.0 15.0 20.0Hg
ag
-12 3.2867 3.0030 2.4140 2.6348 2.8421 0.3917
-6 3.2117 2.4358 2.6328 2.6842 2.7411 0.3315
0 2.9896 2.7344 2.5688 2.6920 2.7462 0.1768
6 3.0173 2.8642 2.7682 2.8278 2.8694 0.1063
12 2.5331 2.6749 2.8099 2.6655 2.6709 0.1131
Table 5: a's obtainedfrom dispersionwithdifferentconcentrations and signal gains
Gain concentrations
(ppm)
mean stddev(dB)
5.0 10.0 15.0 20.0^g
Gg
-12 2.2018 2.4423 1.8742 2.0633 2.1454 0.2392
-6 2.4669 1.9552 1.8185 2.3457 2.1466 0.3090
0 2.7597 2.6867 2.7788 2.8808 2.7765 0.0801
6 2.6583 2.6892 2.4874 2.7428 2.6444 0.1104
12 2.8775 2.4472 2.6116 3.3080 2.8111 0.3757
Table 6:a's obtainedfromgel withdifferentfluidconcentrations and signal gains
Gain concentrations
(ppm)
mean stddev(dB)
5.0 10.0 15.0 20.0^g
ag
-12
3.2553
1.5552 2.65923.3493 2.7048 0.8250
-6 2.9636 2.8747 2.6573 2.4615 2.7393 0.2255
0 2.9873 2.9209 2.9521 2.8808 2.9353 0.0453
6 3.2199 3.1886 2.8424 2.9659 3.0542 0.1809
12 3.2084 2.9489 2.7243 2.7984 2.9200 0.2138
Table 7: a's obtainedfromemulsionwithdifferentfluidconcentrations andsignal gains
concentrations
(ppm)
mean stddevFluids 5.0 10.0 15.0 20.0
^g
g
Dispersion 3.0173 2.8642 2.7682 2.8278 2.8694 0.1063
Gel 2.7597 2.6867 2.7788 2.8808 2.7765 0.0801
Emulsion 2.9873 2.9209 2.9521 2.8808 2.9353 0.0453
Exp. Regression of Dispersion <q=3.0173)
0.2
0.15
y(x)
0.1
0.05
5 ppm, 6dB
0.25 0.5 0.75 1 1.25 1.5 1.75 2 log(x) (x: area in pixel)
Exp. Regression of Dispersion (q=2.7682) 0.2
0.15
<x) 0.1
ytx
0.05
15 ppm, 6dB
0.25 0.5 0.75 1 1.25 1.5 1.75 2 logCx) <x: area in pixel)
Fig
3.3 Observed distributions in dispersionandtheirexponential regressionsExp. Regression of Gel <q=2.4867)
10 ppm, OdB
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x> (x: area in pixel)
Exp. Regression of Gel (q=2.6808)
y(x) 20 ppm, OdB
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
Exp. Regression of Emulsion (q=2.9209)
y<x) 10
ppm, OdB
0.25 0.5 0.75 1 1.25 1.5 1.75 2
log(x) (x: area in pixel)
Exp. Regression of Emulsion <q=2.9521)
y(x) 15 ppm, OdB
0.25 0.5 0.75 1 1.25 1.5 1.75 2 log(x) (x: area in pixel)
Fig
3.5 Observed distributions inemulsion and theirexponential regressions3.1.3
Estimation
ofSystem Parameter
from Each FluidAs the regression of both the original and the observed distribution have been accom
plished, we nextanalyzebothregressionssothat theestimation rulebetweenthemcan be
established.Recallthe regressionfunctionoforiginaldata:
(*-n)2
fix)
=/(jc|u,o) = -jL-e2a*
(29)
/27ta
where x=
log(%r),
ris particle radiusinmicron andp.,a are mean and standarddeviation
of
\og(nr),
respectively.Let's rewrite the exponential regression distribution as a function of t for the observed
data:
g(t)=pe-*= 1.5iqe-*
(30)
where t =
log(px)
>log(l.5)
andpxis particle area inpixels obtained fromthe processed
ultrasonicimage. Itisnotdifficulttorealizethatflx)andgit)arebothexponential butthe
formerisquadratic tox andthe lateris linearto t. Sincetheoriginal particles are detected
by
theultrasonic imagerand recognizedby
theimage processing system,we can useFig.Fluids
Log
Normal Distributionfix)
Acoustic Imager Digital ImageProcessing
System Observation Data Statistics Exponential Distribution git)Fig.3.6 SystemConfigurationandParticleDistribution atInputandOutput
Weneedtogive ahypothesisofthe system responsethatcan explaintheoutputdata distribu
tion.
By
considering the two regressionfunctions,
we postulate that the system response tolog(px)
ist= c
(
x- [if
+b(3D
where c andbaretheparameters ofthe wholesystem.
By
replacing(
x p.)2by
(t-b)
/cinfix),
fix)