分水岭变换:定义-算法和并行策略

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

FundamentaInformaticae41(2001)187{2281IOSPressTheWatershedTransform:De nitions,AlgorithmsandParallelizationStrategiesJosB.T.M.RoerdinkandArnoldMeijsterInstituteforMathematicsandComputingScienceUniversityofGroningenP.O.Box800,9700AVGroningen,TheNetherlandsEmail:roe@cs.rug.nl,a.meijster@rc.rug.nlAbstract.Thewatershedtransformisthemethodofchoiceforimagesegmentationinthe eldofmathematicalmorphology.Wepresentacriticalreviewofseveralde nitionsofthewatershedtransformandtheassociatedsequentialalgorithms,anddiscussvariousissueswhichoftencauseconfusionintheliterature.Theneedtodistinguishbetweende nition,algorithmspeci cationandalgorithmimplementationispointedout.Variousexamplesaregivenwhichillustratedi erencesbetweenwatershedtransformsbasedondi erentde nitionsand/orimplementations.Thesecondpartofthepapersurveysapproachesforparallelimplementationofsequentialwatershedalgorithms.Keywords:Mathematicalmorphology,watershedtransform,watershedde nition,se-quentialalgorithms,parallelimplementation.1.IntroductionIngreyscalemathematicalmorphologythewatershedtransform,originallyproposedbyDigabelandLantuejoul[9,20]andlaterimprovedbyBeucherandLantuejoul[4],isthemethodofchoiceforimagesegmentation[5,46,52].Generallyspoken,imagesegmentationistheprocessofisolatingobjectsintheimagefromthebackground,i.e.,partitioningtheimageintodisjointregions,suchthateachregionishomogeneouswithrespecttosomeproperty,suchasgreyvalueortexture[18].Thewatershedtransformcanbeclassi edasaregion-basedsegmentationapproach.Theintuitiveideaunderlyingthismethodcomesfromgeography:itisthatofalandscapeorto-pographicreliefwhichisoodedbywater,watershedsbeingthedividelinesofthedomainsofattractionofrainfallingovertheregion[46].Analternativeapproachistoimaginethelandscapebeingimmersedinalake,withholespiercedinlocalminima.Basins(alsocalled`catchment2J.B.T.M.RoerdinkandA.Meijster/TheWatershedTransformbasins')will llupwithwaterstartingattheselocalminima,and,atpointswherewatercomingfromdi erentbasinswouldmeet,damsarebuilt.Whenthewaterlevelhasreachedthehighestpeakinthelandscape,theprocessisstopped.Asaresult,thelandscapeispartitionedintoregionsorbasinsseparatedbydams,calledwatershedlinesorsimplywatersheds.Whensimulatingthisprocessforimagesegmentation,twoapproachesmaybeused:eitherone rst ndsbasins,thenwatershedsbytakingasetcomplement;oronecomputesacompletepartitionoftheimageintobasins,andsubsequently ndsthewatershedsbyboundarydetection.Tobemoreexplicit,wewillusetheexpression`watershedtransform'todenotealabellingoftheimage,suchthatallpointsofagivencatchmentbasinhavethesameuniquelabel,andaspeciallabel,distinctfromallthelabelsofthecatchmentbasins,isassignedtoallpointsofthewatersheds.AnexampleofasimpleimagewithitswatershedtransformisgiveninFig.1(a-b).Wenoteinpassingthatinpracticeoneoftendoesnotapplythewatershedtransformtotheoriginalimage,buttoits(morphological)gradient[26].Thisproduceswatershedsatthepointsofgreyvaluediscontinuity,asiscommonlydesiredinimagesegmentation.Oneofthedicultieswiththisintuitiveconceptisthatitleavesroomforvariousformal-izations.Di erentwatershedde nitionsforcontinuousfunctionshavebeengiven,whichwillbebrieyreviewedinSection3.1.However,ourmaininteresthereisindigitalimages,forwhichthereisevenmorefreedomtode newatersheds,sinceinthediscretecasethereisnouniquede nitionofthepathadropofwaterwouldfollow.Manysequentialalgorithmshavebeende-velopedtocomputewatershedtransforms,seee.g.[26,51]forasurvey.Theycanbedividedintotwoclasses,onebasedonthespeci cationofarecursivealgorithmbyVincent&Soille[52],andanotherbasedondistancefunctionsbyMeyer[25].Inthecontextofparallelimplementationsthereexistsanotabletendencyforintroducingotherde nitionsofthewatershedtransform,enablingeasierparallelization.ExamplesarepresentedinSection5.(a)(b)(c)(d)Figure1.Examplesofwatershedsegmentationbyimmersion(seeDe nition3.2).(a):syntheticimage;(b):watershedtransformof(a);(c):naturalimage;(d):watershedtransformof(c).Di erentbasinsareindicatedbydistinctgreyvalues.Theimpressionwhichthecurrentliteratureonwatershedalgorithmsmakesupontheunini-tiatedreadercanonlybeoneofgreatconfusion.Oftenitisuncertainexactlywhichde nitionforthewatershedtransformisused.Sometimesthede nitiontakestheformofthespeci cationJ.B.T.M.RoerdinkandA.Meijster/TheWatershedTransform3ofanalgorithm.Acarefuldistinctionbetweenalgorithmspeci cationandimplementationisinmanycaseslacking.Withoutsuchaseparation,correctnessassessmentofproposedalgorithmsisimpossible.Evenwhenaspeci cationisgiven,theimplementationoftendoesnotadheretoit.Adhocmodi cationsaremadetoeliminate`undesirable'consequencesofawatershedde nition,butsuchchangestendtocreatenewproblemsbysolvinganoldone.Or`optimiza-tions'areintroduced,forgreaterspeedormemoryreduction,whichintheprocesschangetheoutcomeofthealgorithmaswell,althoughthismayoftengoundetectedinthecaseofnaturalimages.Thesequestionsarenotpurelyacademic,sincethealgorithmiswidelyusedine.g.medicalimageprocessingwhereunwantedsidee ectsshouldbeavoided.Thepurposeofthispaperistwofold.Inthe rstpartwepresentacriticalreviewofseverald

1 / 40
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功