toolparameterdirection

parameterdirection  时间:2021-02-25  阅读:()
A.
Fredetal.
(Eds.
):SSPR&SPR2004,LNCS3138,pp.
104–113,2004.
Springer-VerlagBerlinHeidelberg2004ANovelConstraint-BasedApproachtoOnlineGraphicsRecognitionLuoYan,GuanglinHuang,LiuYin,andLiuWenyinDepartmentofComputerScience,CityUniversityofHongKong83,TatCheeAvenue,KowloonTong,Kowloon,HongKongSAR,China{luoyan,hwanggl}@cs.
cityu.
edu.
hk,{liuyin,csliuwy}@cityu.
edu.
hkAbstract.
Onlinegraphicsrecognitionhasbecomethekeyproblemforpen-baseduserinterfaceonsmallscreendevices,suchasPDAandTabletPC.
Inthispaper,anovelconstraint-basedapproachtoonlinegraphicsrecognitionisproposed.
Thekeyideaofourapproachisthatwhentheuserisdrawingagraphicobject,thesystemcanextracttheconstraintsbetweenprimitivesandbasicshapesfromtheobjectandusetheseconstraintstoretrievesimilargraphicobjectsfromthedatabaseatruntime.
Theusercanthenchoosethestandardob-jectfromtherankedlistofresultstoreplacehissketchesbeforehefinishesdrawingallstrokesoftheobject.
Forthispurpose,wesummarizethreetypesofprimitivesandseveraltypesofbasicshapesasthebasiccomponentsofagraphicobject.
Wealsodefineasetofconstraintsbetweenprimitivesandbasicshapestorepresenttheirstructuralrelations.
Thealgorithmsforonlinecon-straintextractionandgraphicsrecognitionarealsopresented.
Experimentalre-sultsshowthatourapproachisefficientforonlinegraphicsrecognitionandef-fectiveforimprovingtheuser'sproductivity.
1IntroductionRecentlypen-baseddevicessuchasPDAandTabletPChavebecomemoreandmorecommontothegeneralpublic.
Inthesedevices,graphicsisanimportantandusefulmeansforuserstostoreinformation,expressthought,andsketchdesigns.
Manysys-temsweredevelopedtofacilitateuserstodrawgraphics,suchasMicrosoftVisio,SmartDraw,andAutoCAD.
Inthesesystems,theuserisaskedtodrawgraphicsbyselectingtheparticulartypeofgraphicobjectfromlotsoftoolbarbuttonsormenuitems.
Thistaskisverytime-consumingandinconvenient,especiallywhenthenum-berofpredefinedgraphicobjectsinthesystemisverylarge.
Themostconvenientandnaturalwayforhumanbeingstodrawgraphicsshouldbeusingapentodrawsketches,justlikedrawingonarealsheetofpaper.
However,thesketchesdrawninthiswayarenotstandardandclearinappearance,notcompactinrepresentationandstorage,andnoteasyformachinestounderstandandprocess.
Itisnecessarytorec-ognizeandconvertthesketchestotheregularandstandardgraphicobjectsthattheuserintendstodraw.
Moreover,itisevenbetterifwecandorecognitionwhiletheuserissketchingsincetherecognizedpartscanprovideimmediateandusefulfeed-backtotheusersothathecanrealizeerrorsorinappropriatenessearlierandthereforedrawthegraphicsmoreperfectly.
Inmanycases,recognizinggraphicobjectsearlycanalsosignificantlysavetheuser'sinputstrokesandtime.
Hence,onlinegraphicsANovelConstraint-BasedApproachtoOnlineGraphicsRecognition105recognitionhasbecomethekeyproblemforpen-baseduserinterfaceonthesesmallscreendevices.
Moreover,onlinegraphicsrecognitioncanbealsoviewedasaqueryandretrievalproblem.
Theuser'sinputstrokescanbeviewedasaqueryandthesys-temretrievesthesimilargraphicobjectsfromanumberofpredefinedstandardgraphicobjects.
Althoughtheaimsofretrievalandrecognitionaredifferent,theun-derlyingtechnologyiscommoninthatamatchingprocedureisneededtocomparetheinputpatternwitheachknownpattern.
Therefore,thetechniquesforretrievingonlinegraphicsarealsowithinthescopeofonlinegraphicsrecognition.
Inthefollowing,wewillnotdistinguishretrievalfromrecognition.
Thereadersshouldbearinmindthecommonpointsanddifferencesbetweenthem.
Comparedwithofflinegraphicsrecognition,onlinegraphicsrecognitionhassomespecialcharacteristics.
First,theinputgraphicobjectforonlinegraphicsrecognitionisusuallyincomplete,sinceourgoalistorecognizetheuser'ssketchesbeforehefin-ishesthewholegraphicobject,whichcanprovideanimmediateandusefulfeedbacktotheuser.
Thischaracteristicimpliesonlinegraphicsrecognitionhastorecognizetheuserintendedobjectbasedonpartialinformationinmanycases.
Second,thestrokesinthesamegraphicobjectcanbedrawnindifferentordersbydifferentusers.
Hence,theincompleteuser'sinputofthesamegraphicobjectcanbeverydifferentforonlinegraphicsrecognition.
Thatmeansitisnoteasytoapplythetraditionalmatchingmethodsforofflinegraphicsrecognitiontoonlinegraphicsrecognition,sincetherecanbemanydifferentkindsofincompletegraphicobjectsforthesamecompleteoneanditisdifficulttomatchallofthemtothecompleteone.
Third,onlinegraphicsrecognitionneedsmoreefficiencythanofflinegraphicsrecognition.
Thesystemhastoprovidetheimmediatefeedbacktotheuseratruntime;otherwise,itwillbetediousandtime-consuminginsteadofsavingtheuser'sinputstrokesandtime.
Hence,theefficiencyofonlinegraphicsrecognitionisveryimportantforagooduserinterface.
Manyresearchworkshavebeendoneonsuchonlinegraphicsrecognition.
Ze-lezniketal.
[1]haveinventedaninterfacetoinput3Dsketchyshapesbyrecognizingthepredefinedpatternsofsome2Dgraphicobjects.
Jorge'sgroup[2][3]haveimple-mentedanonlinegraphicsrecognitiontoolthatcanrecognizeseveralclassesofsim-pleshapesbasedonglobalareacalculation,whichcanhardlydistinguishambiguousshapessuchaspentagonandhexagonandthereforecannotachievehighrecognitionprecisiongenerally.
SILK[4]isaninformalsketchingtoolthatcombinesmanyofthebenefitsofpaper-basedsketchingwiththemeritsofcurrentelectronictools.
JavaS-ketchIt[5]isanothersystemforthispurpose,whichcangenerateaJavainterfacefromhand-drawngeometricshapes.
SKETCHIT[6]isasystemthatcantransformasinglesketchofamechanicaldeviceintomultiplefamiliesofnewdesigns.
LADDER[7]isalanguagetodescribehowsketcheddiagramsinadomainaredrawn,dis-played,andedited,andusedforonlinegraphicsrecognition.
Therecognitionap-proachisstillnotadequateforarealsoftwaretoolthatcanbeusedforinputtingmostclassesofdiagrams.
Hence,inordertoprovidethecapabilitytoinputmorecomplexdiagrams,itisnecessarytoextendtheonlinegraphicsrecognitionapproachtohandlemorecomplexandcompositeshapes,asdoneinSmartSketchpad[8],whichcaneffi-cientlyandeffectivelyinputcompositegraphicobjectsbysketchingonlyafewcon-stituentstrokes.
106LuoYanetal.
2OurApproachandContributionInthispaper,weproposeanovelconstraint-basedapproachtoonlinegraphicsrecog-nition.
Thekeyideaofourapproachisthatwhentheuserisdrawingagraphicobject,thesystemcanextracttheconstraintsbetweenprimitivesandbasicshapesfromtheobjectandusetheseconstraintstoretrieveorrecognizesimilarstandardgraphicob-jectsfromthedatabaseatruntime.
Theusercanthenchoosethestandardobjectfromtherankedlistofresultstoreplacehissketchesbeforehefinishesdrawingallstrokesoftheobject.
Ourcontributionincludes,1)wesummarizedthreetypesofprimitivesandseveraltypesofbasicshapes;2)wedefinedasetofconstraintsbetweenprimitivesandbasicshapestorepresenttheirstructuralrelations;3)wedevelopedanalgorithmforonlineconstraintextractionfromtheuser'sinputgraphicobject,whichisincompleteinmanycases;4)wedevelopedanotheralgorithmforonlinegraphicsrecognitionbasedontheconstraintsoftheuser'sinputgraphicobject;5)weproposedanalgorithmforcalculatingthesimilaritybetweentheuser'sinputgraphicobjectandthecandidategraphicobjectsfordisplayingtherecognizedresultsinarankedlist.
Fig.
1.
TheflowchartofourapproachFigure1istheflowchartofourapproach.
Theuserbeginshissketchesbydrawingsomebasicstrokes(orprimitives).
Thesystemstartstoextracttheconstraintsbe-tweentheseprimitivesandusestheextractedconstraintstorecognizethesimilarstandardgraphicobjectsinthedatabase.
Byusingourproposedsimilaritycalculationalgorithmthesystemcanthencalculatethesimilaritybetweentheuser'sinputgraphicobjectsandthecandidategraphicobjects,anddisplaytherecognizedresultsinarankedlist.
Iftheuser'sintendedgraphicobjectisdisplayedinthelist,hecanjustchoosethisstandardobjecttoreplacethatincompletesketcheshehasjustdrawn.
Thesystemappliestheseprocedures,suchasconstraintextraction,graphicsrecognition,andsimilaritycalculation,atthesametimeastheuserisdrawingthesketches.
HenceANovelConstraint-BasedApproachtoOnlineGraphicsRecognition107itcanfacilitatetheusertodrawgraphicsbysignificantlysavingtheuser'sinputstrokesandtime.
Inthefollowingofthispaper,wefirstproposeourconstraint-basedapproachtodescribetheuser'sinputgraphicobjectinSection3.
Then,algorithmsforconstraintextractionandgraphicsrecognitionarediscussedinSection4and5,respectively.
Finally,experimentalresultsandconcludingremarksarepresented.
3Constraint-BasedRepresentationofGraphicObjectsAswediscussedabove,ourapproachfocusesontherelativespatialrelationsbetweenprimitivesandbasicshapes.
Hence,weuseconstraintstorepresenttheuser'sinputgraphicobjectinourapproach.
Constraint,orgeometricconstraint,isnotanewcon-cept,whichhasbeenwidelyusedinCADsystems(e.
g.
,[9]).
However,inmanyCADsystems(e.
g.
,[9][10][11]),theconstraintsaredefined,extracted,andspecifiedbyprofessionalandexperiencedusers.
Inourapproach,wedefinedasetofconstraintstodescribethespatialrelationsbetweenprimitivesandbasicshapes.
Thesystemcanextractconstraintswhiletheuserisdrawingthesketchesandusestheseconstraintstorecognizesimilarstandardgraphicobjectsinthedatabaseatruntime.
Thus,ourdefi-nitionofconstraintsshouldbebroadenoughtosupportawiderangeofgraphicob-jects,whileremainingnarrowenoughtobecomprehensible.
Firstofall,wedefinethreetypesofprimitives:Line,Circle,andArc.
AsshowninFigure2,P1andP2aretwoendpointsofaLine.
WecanassumeP1isthestart-pointandP2istheend-pointsuchthatwecandefinethedirectionofaLineisfromP1toP2.
ForaCircleprimitive,italsohastwoattributes,C(center-point)andR(radius).
InthedefinitionofanArc,weuseP1andP2torepresentthestart-pointandend-pointofanArcsincetheuserusuallypaysmoreattentiontothestart-pointandend-pointthanthecenter-point.
ThatmeanstheuserdoesnotcareaboutthecurvingofanArcbutthepositionofanArc.
However,thedirec-tionofthebowofanArcisveryimportantfortheusertodistinguishdifferentgraphicobjects.
Hence,ifwedefineapositivedirec-tionfromP1toP2,likeX-axis,thenwecandefinetheDirectionofthebowofanArc.
Thenwedefinetheconstraintsbetweentheaboveprimitives.
Weanalyzedmorethan300typesofgraphicobjectstosummarizetheconstraints.
Sinceweonlyusethreeparameters(i.
e.
,P1,P2,andDirection)todefineanArcprimitive,wecanimageanArcasaLineplusaDirection.
Hence,wecanjustanalyzetheconstraintsbetweenLineprimitivesandapplytheseconstraintstoArcprimitivesbysimplyaddingaDi-rectionparameter.
Therefore,wefirstdefinefourconstraintsbetweenLineprimitivesandArcPrimitives,includingConnection,Intersection,Parallelism,andPerpendicu-larity.
ForaCircleprimitive,weregarditasabasicshape,whichisdiscussedinthefollowingsection,anddefinetheconstraintsbetweenbasicshapesandprimitivestodescribetheirspatialrelations.
Here,foreasilyunderstanding,weonlyuseLineprimitivestodescribethefourconstraintsbetweenLineandArcprimitives.
ForthecasesincludingArcprimitives,onlyoneadditionalparameter,Direction,isrequired.
LineCircleArcFig.
2.
Primitives108LuoYanetal.
(1)ConnectionConnectionisaconstrainttodescribethattwoprimitivessharethesameend-point,justliketheyareconnectedatoneend.
Figure3illustratesthisconstraint.
Fig.
3.
ConnectionFromtheabovefigure,wecanseethatthereareonlyfourcasesbetweentwoprimitivesthatareconnectedwitheachother,sinceoneLineoroneArchastwoend-points.
Weuseaparametertypetorepresentthisinformationanduseanotherparame-terangletostoretheanglebetweenthetwoprimitives.
|)||/(|)cos(2121LLLLangle==αInthisdefinition,theparameterangleitselfisnotsufficienttofullyspecifythespatialrelationshipoftwointersectedlinessincetheanglehasadirection.
Thus,weuseanotherparameterdirectiontodescribethisinformation.
ConsiderL1(x1,y1,0)andL2(x2,y2,0),whichare2Dvectorsin3Dspace,andtheircrossproduct),0,0(,00,002211212121zLyxyxxxyyLLL==*=12212211yxyxyxyxLz==LisperpendiculartotheplaneformedbyL1andL2,anditsdirectioncomplieswiththeRightHandRule.
ThuswecandeterminethedirectionbythesignofLz.
Inaddi-tion,weusetheparameterlengthtodescribetherelativelengthofL2toL1(length=|L2|/|L1|).
(2)IntersectionIntersectionisaconstrainttodescribethattwoprimitivesareintersectedwitheachother,whichmeanstheysharethecommonpointontheprimitives.
InFigure4,twoLineprimitivesareintersectedwitheachotheratiPoint.
Wedefinefourparameterstodescribethisconstraint.
Thefirsttwoparametersdescribetherela-tivepositionofiPointontwoLineprimitivesasfollows.
1211121iPointiPPPP=2221222iPointiPPPP=Weuseothertwoparameters,angleandlength,todescribetheanglebetweentwoprimitivesandrelativelengthofthemjustlikeConnectionconstraint.
(3)ParallelismSimilartoIntersection,wealsousefourparameterstodescribeParallelismgeometricconstraint.
Thefirstoneisdistance=D(L1,L2)/|L1|,inwhichD(L1,L2)de-notestherealdistancebetweenlineL1andL2.
Thesecondone,direction,isusedtodescribewhetherL2isontheleftorrighttoL1andthecomputingmethodisFig.
5.
ParallelismFig.
4.
IntersectionANovelConstraint-BasedApproachtoOnlineGraphicsRecognition109similartothedefinitioninConnectionconstraint.
Moreover,weusetwootherpa-rameterstospecifytheirrelativepositionandlength.
InFigure5,L1andL2areparalleltoeachother;spandeparetheprojectionsoftheendpointsofL2onL1.
Weset:211121.
.
.
sppoint-startPLPLPL=211121.
.
.
eppoint-endPLPLPL=(4)PerpendicularityForthePerpendicularityrelationshipinwhichtwoprimi-tivesareconnectedorintersected,wecanuseConnectionorIntersectiontorepresentit,respectively.
Here,weonlydefinethePerpendicularitybetweentwoprimitiveswhentheyarenotconnectedorintersected:Length||/||12LL=Per-pointistheperpendicularpointof2Lon1LStart-point||/|.
,point-per|212LPL=End-point||/|.
,point-per|222LPL=Whenwecalculatestart-pointandend-point,wesetasigntothevalueofthem.
Wesetitpositiveifthepointisontheleft-handsideofL1andnegativeontheright-handside.
ThecomputingmethodissimilartocomputingdirectioninConnectionconstraint.
InFigure6,thevaluesofstart-pointandend-pointarebothpositive.
Someprimitivescanconstituteaverycommonandbasicshape,whichisoftenusedbyusersinmanycomplexgraphicobjects.
Especially,theuserusuallydividesthewholesketchintosomebasicshapeswhendrawingacomplexsketch.
Therefore,wealsosummarizedsomebasicshapestorepresenttheuser'sinputgraphicobjectatahigherlevel,asillustratedinFigure7.
Forthesebasicshapes,wealsodefineasetofconstraintstodescribethestructuralrelationsbe-tweenthem.
Forinstance,totheclosedshapes,suchasRectangleandCircle,wedefinedtheInner/Outerconstrainttodescribewhetherotherprimitivesorbasicshapesareinsideoroutsidethem,because,inmanycases,theuserpaysmoreattentiontotheInner/Outerrelationsbetweenshapesthantheprecisepositionororientationoftheseshapes.
Forothernon-closedshapes,wealsodefinedotherconstraints(e.
g.
,relativepositionandorientation)todescribethestruc-turalrelationsbetweenthesebasicshapesandotherprimitives.
4OnlineConstraintExtractionInthissection,wediscussourdevelopedalgorithmforonlineconstraintextraction,whichmeansthatourapproachextractstheconstraintsbetweentheprimitivesandbasicshapeswhiletheuserisdrawingsketches.
ThisalgorithmisdevelopedbasedonFig.
6.
PerpendicularityFig.
7.
Somebasicshapes110LuoYanetal.
ourpreviousworkforofflinegraphicsrecognition[12].
Wedividetheprocedureofrecognizinguser'sdrawingsketchesintothreestages.
1.
Theuserbeginshissketcheswithsimpleprimitives,whichdonotconstituteanybasicshapes.
However,thesimpleprimitivesdocontainusefulinformationabouttheuser'sintention,e.
g.
,theycanbeapartofastandardgraphicobject.
Hence,ouralgorithmextractstheconstraintsbetweentheprimitivesastherepresentationofuser'sinputatthisstageandusestheseconstraintstoretrievethestandardgraphicobjectsthatcontainthesimilarpart.
2.
Whentheusercontinuestodrawsketches,thereareenoughprimitivestoconstituteabasicshape.
Atthisstage,ourapproachusestheconstraintsbetweentheprimi-tivestorecognizethemasabasicshapeandprovidesausefulandimmediatefeed-backtotheuser.
Theusercanacceptthefeedbackoradjusthissketchesatthisstage.
Oncetheuseracceptshiscurrentsketchesasabasicshape,hissketchesarereplacedbythestandardbasicshapeandhecangoonwithhissketches.
Thesys-temwillthenextracttheconstraintsbetweenthenewlydrawnprimitivesuntilanewbasicshapeisrecognized.
3.
Astheusergoesonwithhissketches,theconstraintsbetweenthebasicshapesshouldalsobeextractedsincetheycontainmuchusefulinformationforrecogni-tion.
Hence,atthethirdstage,thesystemextractstheconstraintsbetweenbasicshapesandconstructsahierarchicalconstraint-basedstructureforrecognition.
Forthedetailoftheonlineconstraintextractionalgorithm,seetheCase-basedKnowledgeAcquisitionAlgorithm(CKAA)[12].
5OnlineGraphicsRecognitionTheconstraintsextractedbytheabovealgorithmarestoredinasyntacticaltree.
Weusethistreetoretrieveorrecognizethesimilarstandardgraphicobjects.
Wesearchallthepredefinedgraphicobjectsinthedatabaseforthosethatcontainthesimilarconstraints,i.
e.
,containthesimilargraphicobjecttouser'sinput.
However,wecan-notusethematchingmethodforrecognitionsincetheuser'sinputisusuallyincom-plete.
Therefore,weproposeanewscheme,whichislikeareasoningmethod,forrecognizinggraphicobjectsbasedontheconstraints.
Whenwetestonestandardgraphicobjectforwhetheritcontainsthesimilargraphicobjecttotheuser'sinputornot,wefirsthypothesizethatonestrokeofthestandardgraphicobjectisintheuser'sinput.
Usingtheconstraintsextractedfromtheuser'sinput,wecancalculatethespecificationofanotherprimitiveorbasicshapebasedonthehypothesisstroke.
Thenwesearchthestandardgraphicobjecttoseewhetheritcontainsthisstroke.
Ifthestrokeisfound,wecontinuetracingotherconstraintsuntilallstrokesarefoundinthestandardgraphicobject,whichmeans,thisstandardgraphicobjectcontainsthesimi-largraphicobjecttotheuser'sinput.
Otherwise,weselectanotherstroketorepeatthishypothesizing/testingprocedure.
Thealgorithmpresentedbelowdealswithidealsituations.
Inpractice,thetoleranceshouldbeconsideredandthematchingmeasureshouldbedefined,whicharediscussedinourpreviouswork[12].
ThedetailoftheonlinegraphicsrecognitionalgorithmisshowninAlgorithm1.
ANovelConstraint-BasedApproachtoOnlineGraphicsRecognition111Whentheresultisoutput,thesimilaritybetweentheuser'sinputgraphicobjectandthestandardgraphicobjectiscalculatedfromtwoaspects.
Thefirstisthesimilar-itybetweenprimitives,whichiscalculatedaccordingtothedifferenceoflength,an-gleandpositionbetweenthetwoprimitives.
Thesecondisthesimilarityofcon-straints,whichiscalculatedbythepercentageofexactmatchedprimitivesinthestandardgraphicobject.
Accordingtothesimilarityofthestandardgraphicobjects,weselecttop10objectsinthedatabaseandreturntheminarankedlisttotheuser.
Algorithm1:OnlineGraphicsRecognitionInput:SC:thesetofconstraintsfromtheuser'sinputgraphicobjectDB:thedatabaseconsistsofstandardgraphicobjectsTL:thetolerances,e.
g.
,lengthandnumbertoleranceVariables:CT:thetemporaryconstructedtreeforreasoningprocedureSM:thesetofmarkstoindicateprimitivesthathavebeentestedOutput:RR:therecognitionresult,whichtypethegraphicobjectis1.
SelectastandardgraphicobjectSGfromDB.
Ifallstandardgraphicobjectshavebeensearched,thenstop(failure)2.
SetCTemptyandinitializeSM3.
SelectthenextprimitivePfromSG,whichhasnotbeenmarkedinSM.
AdditintoCTastheroot,andmarkitinSMtoindicatethisprimitivehasbeentested.
IfallprimitiveshavebeenmarkedinSM,gotostep1.
4.
SelectthenextconstraintCfromSC.
Ifallconstraintshavebeentracedthenstop(success)andoutputthecurrentSGasRR5.
CalculatethenewprimitiveorbasicshapeP'usingPandC6.
SearchforaP''inSG,whichissimilartoP'usingthetolerancesinTL.
7.
IfP''isfoundthensetitasachildofPinCTandmarkinSMtoindicateP''hasbeenusedandgotoStep48.
IfP''isnotfoundandthenumberofmissingprimitivesexceedsthetolerancethengotoStep2.
Otherwise,gotoStep46ExperimentalResultsWehaveimplementedaprototypesystemanddoneseveralexperimentsbasedonadatabaseconsistingof345standardgraphicobjects,someofwhichareillustratedinFigure8.
Theuserisaskedtodrawgraphicobjectsandthesystemprovidesimmediaterecognitionresults,fromwhichtheusercanselecthisintendedstandardgraphicobject.
Theaveragerecogni-tionaccuracyis90.
5%sincetheuser'sinputcanbeverydifferent.
Wealsorecordthenumberofstrokesthathavebeensavedfordrawinganobject.
Inourexperiments,thenumberofonestandardobject'sstrokesrangesfrom1to14andtheaverageis10.
32.
Theaveragenumberofsavedstrokesis2.
78,nearly27%.
Wealsoevaluatetheresponsetimeofourapproach.
Theaverageresponsetimetouser'sFig.
8.
Somestandardgraphicobjects112LuoYanetal.
inputiswithin100ms,whichisefficientenoughtogivereal-timeresponseforadata-baseconsistingofseveralhundredsofgraphicobjects.
Fromtheexperimentalresults,wecanseethatourapproachiseffectiveforonlinegraphicsrecognitionandsavingtheuser'sinputstrokesandtime.
7ConclusionandFutureWorkInthispaper,weproposedanovelconstraint-basedapproachtoonlinegraphicsrec-ognition,withwhichthesystemcanextracttheconstraintsbetweenprimitivesandbasicshapesfromtheuser'sinputandusetheseconstraintstorecognizesimilarstan-dardgraphicobjects.
Severalconstraintsaredefinedandtwoalgorithmsaredevel-oped.
Experimentalresultsshowthatourapproachisefficientforonlinegraphicsrecognitionandeffectiveforsavingtheuser'sinputstrokesandtime.
However,someaspectsofourapproachcanbeimproved.
Moretypesofprimitives,basicshapes,andconstraintscanbeaddedintoourapproachinthefuturetosupportmorecomplexandvariousgraphicobjects.
Twoalgorithmsforonlineconstraintextractionandgraphicsrecognitioncanbealsorevisedtoimprovetherecognitionaccuracyandsavetheuser'sinputstrokeandtime.
Wealsoplantoprovidemoregraphicobjectsfromvari-ousdomainstodoexperimentstotestoursystem.
AcknowledgementTheworkdescribedinthispaperwasfullysupportedbyagrantfromtheResearchGrantsCounciloftheHongKongSAR,China[ProjectNo.
CityU1073/02E].
References1.
R.
C.
Zeleznik,K.
P.
Herndon,andJ.
F.
Hughes,"KETCH:AnInterfaceforSketching3DScenes",Proc.
ofSIGGRAPH,NewOrleans,pp.
163-170,1996.
2.
M.
J.
FonsecaandJ.
A.
Jorge,"UsingFuzzyLogictoRecognizeGeometricShapesInterac-tively",Proc.
ofthe9thIEEEConf.
onFuzzySystems,Vol.
1,pp.
291-296,2000.
3.
M.
J.
Fonseca,C.
Pimentel,J.
A.
Jorge,"AnOnlineScribbleRecognizerforCalligraphicIn-terfaces",Proc.
ofAAAISpringSymposiumSeries–SketchUnderstanding,2002.
4.
J.
M.
LandayandB.
A.
Myers,"SketchingInterfaces:TowardMoreHumanInterfaceDe-sign",IEEEComputer,Vol.
34,No.
3,pp.
56-64,2001.
5.
A.
Caetano,N.
Goulart,M.
J.
Fonseca,andJ.
A.
Jorge,"JavaSketchIt:IssuesinSketchingtheLookofUserInterfaces",Proc.
AAAI'02SpringSymposium–SketchUnderstanding.
6.
C.
Calhoun,T.
F.
Stahovich,T.
Kurtoglu,L.
M.
Kara,"RecognizingMulti-StrokeSymbols",Proc.
ofAAAISprintSymposiumSeries–SketchUnderstanding,2002.
7.
T.
HammondandR.
Davis,"Ladder:ALanguagetoDescribeDrawing,Display,andEdit-inginSketchRecognition",Proc.
ofIJCAI'03,2003.
8.
W.
Liu,X.
Jin,andZ.
Sun,"Sketch-BasedUserInterfaceforInputtingGraphicObjectsonSmallScreenDevices",LectureNotesinComputerScience2390,pp.
67-80,2002.
ANovelConstraint-BasedApproachtoOnlineGraphicsRecognition1139.
J.
K.
LeeandK.
Kim,"GeometricReasoningforKnowledge-basedParametricDesignusingGraphRepresentation'",Computer-AidedDesign,Vol.
28,No.
10,pp.
831-841,1996.
10.
S.
Ait-Aoudia,B.
Hamid,A.
Moussaoui,T.
Saadi,"SolvingGeometricConstraintsbyaGraph-ConstructiveApproach",Proc.
ofICIV'1999,pp.
250-255,1999.
11.
I.
Fudos,C.
M.
Hoffmann,"AGraph-ConstructiveApproachtoSolvingSystemsofGeo-metricConstraints",ACMTrans.
onGraphics,Vol.
16,No.
2,pp.
179-216,1997.
12.
Y.
LuoandW.
Liu,"ACase-basedInteractiveApproachtoGraphicsRecognitioninEngi-neeringDrawings",Proc.
ofGREC'2003,pp.
170-181,2003.

pacificrack:VPS降价,SSD价格下降

之前几个月由于CHIA挖矿导致全球固态硬盘的价格疯涨,如今硬盘挖矿基本上已死,硬盘的价格基本上恢复到常规价位,所以,pacificrack决定对全系Cloud server进行价格调整,降幅较大,“如果您是老用户,请通过续费管理或升级套餐,获取同步到最新的定价”。官方网站:https://pacificrack.com支持PayPal、支付宝等方式付款VPS特征:基于KVM虚拟,纯SSD raid...

腾讯云爆款秒杀:1C2G5M服务器38元/年,CDN流量包6元起

农历春节将至,腾讯云开启了热门爆款云产品首单特惠秒杀活动,上海/北京/广州1核2G云服务器首年仅38元起,上架了新的首单优惠活动,每天三场秒杀,长期有效,其中轻量应用服务器2G内存5M带宽仅需年费38元起,其他产品比如CDN流量包、短信包、MySQL、直播流量包、标准存储等等产品也参与活动,腾讯云官网已注册且完成实名认证的国内站用户均可参与。活动页面:https://cloud.tencent.c...

金山云:618年中促销,企业云服务器2核4G仅401.28元/年,827.64元/3年

金山云618年中促销活动正在进行中!金山云针对企业级新用户优惠力度比普通个人用户优惠力度要大,所以我们也是推荐企业新用户身份购买金山云企业级云服务器,尽量购买3年配置的,而不是限时秒杀活动中1年的机型。企业级用户购买金山云服务器推荐企业专区:云服务器N3 2核4G云服务器,1-5M带宽,827.64元/3年,性价比高,性能稳定!点击进入:金山云618年中促销活动目前,金山云基础型E1云服务器2核4...

parameterdirection为你推荐
windows优化大师怎么用Windows优化大师怎么用?arm开发板ARM开发板和树莓派有什么区别唱吧电脑版官方下载唱吧有电脑版吗安装迅雷看看播放器如何用手机安装迅雷看看播放器bt封杀为什么现在网上许多BT下载都被封了?系统分析员系统分析员的工作内容cisco防火墙如何进入cisco防火墙的配置窗口263企业邮箱设置263企业邮箱如何设置白名单?请客网飞宴网是做什么的液晶显示器电源维修lg液晶显示器开关电源维修
如何申请域名 个人注册域名 长沙服务器租用 vps教程 sugarhosts linode 警告本网站 免费网络电视 空间服务商 100m免费空间 台湾谷歌地址 183是联通还是移动 paypal注册教程 drupal安装 小夜博客 googlevoice 开心online hdchina 机柜尺寸 西部主机 更多