外文翻译字符的计算机处理与显示_第1页
外文翻译字符的计算机处理与显示_第2页
外文翻译字符的计算机处理与显示_第3页
外文翻译字符的计算机处理与显示_第4页
外文翻译字符的计算机处理与显示_第5页
已阅读5页,还剩8页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、百度文库-好好学习,天天向上本科毕业设计(论文)外文翻译年学姓专指级:2004级a.名:任XXX业:机械设计制造及其自动化2008年06月百度文库好好学习.天天向上英文翻译1 .英文ONCOMPUTERISATIONANDREPRESENTATIONOFCHARACTERSThecommercialneedtocomputerisecontoursofobjectshasintensifiedoverrecentyearsasmoreandmoreapplicationsendeavourtoseekthebenefitsofvisualisation.Theprimaryaimhasbeen

2、togainacomputerisedmodelwhichcloselyresemblestheoriginalshapeandform.Thedigitalfonnlendsitselftobeprocessedbyfastprocessors,andtheiroutputtobedisplayedongraphicdevicessuchasscreendisplaysandlaserprinters.Thebenefitsofthedigitalformarealsoextendedtocaterfornumericallycontrolledmachines.Theseareemploy

3、edtoproduceoutlinesthroughcuttingorengravingonpaper,metal,plasticorwood.Whenitcomestodigitlingtheoutlinesofcharacters,additionalconsiderationshavetobeincludedinthemodelling,design,phase.Theaimoftheseistocapturetheuniquenessandthedistinctfeaturesofafont,whichtraditionallywererealisedbyaproficientarti

4、san'shandandeye.Modemapproachesendeavourtogainthesameimpactbyusingasetofpre-definedspecificationsinthedesignprocess.Thegoalofwhichisnotjusttomodelaccuratelyadesiredfont,butalsotoensurethatthedisplayedversionisbothlegibleandaestheticallyacceptable.Thispaperprovidesaninsightaboutthedesignmethodsus

5、edtobothmodelandrepresentthecontoursofLatincharactersandfonts.Itdescribestheroleofthesplineasameansofrealisingthemodellingaspect.Tothisregard,thesplinedescriptionsusedbyPostscript(BCziercubic)andTnieType(parabolic)arelookedat,andacomparativeanalysismade.Thediscussionthroughoutislevelledatprovidingap

6、racticalunderstandingofthesubjectmatter.1.0IntroductionThequestforanaccurateandaestheticallyacceptablerepresentationofoutlinesofshapehastraditionallybeenundertakenbyexperiencedartisans.Theyproduceddesiredresultsbyusingaskilledhand,havinganeyeforfinedetailandanappreciationofthetypeandformoftheshapeit

7、self.Thisprocessofgeneratingoutlinesfoundpopularityinthefieldoftypography,whereanexactproductionandreproductionofcontoursofcharactersisrequired.Thetaskforthetypographerwasnotjusttodrawagivenoutline,butalsotocapturethedistinctfeaturesofaparticularfonttype.Thismanualprocessofmodellingcharacteroutlines

8、becomesrathertediousandtime-consumingwhenonerealisesthattherearethousandsofLatinfonttypesavailable,eachcomprisingofatleast100characters.Withthearrivalofcomputers,attemptshavebeenmadetoautomatethedesignhasresultedinsoftwareprogramsundertheheadingsofcomputer-aided-design(CAD),manufacture(CAM)andgeomet

9、ric-design(CAGD)beingdeveloped.Themodemtypographerusesaparticulardesignpackagetocaptureandmodeladesiredfont.Theprocessworkswithsomepre-definedspecifications,ensuringthattheinodelledimageeinbodiesthedesiredfontfeatures.Inviewofmodemcommercialrequirementsforafastandaccuratemeansofcomputerisingagivenou

10、tline,mostdesignsystemsmakeuseofamathematicaldescription.Thishastheattraction,whencomparedtothemanualapproach,ofprovidingainodelledimageatafasterrateandyieldingwithin,andbetween,designsystems.Inaddition,theresultingimageisinaformwhichcanbetransformed(translated,rotated,scaledFtc)withoutdistortionbyu

11、singasimpleandanappropriatedmatrix.Thesimplestmathematicaldescriptionmakesuseofstraightlinesegmentsfrompointtopointaroundtheoutline.AnexampleoftheapproachisdepictedinFigI.Clearly,itcanbeseenthattheresultingmodelgivesacoarserepresentationoftheoriginal.Moredatapointsandthuslinesegmentswillberequiredto

12、yieldthedesiredoutcome.Eventhen,itisnotcertainwhethertheresultingrepresentationwouldbeacceptableforaestheticreasons.Modelled by Line SegmentsFig1:Showshowaseriesoflinesegmentscouldbeusedtomodelagivencharacteroutline,suchastheletter"S"shown.Anothershortcomingwiththelinemodellingapproachisth

13、eamountofcontinuityitgivesbetweenjoiningsegments.Asitstands,thesystemcanatmostprovidezerocontinuity,ensuringonlythattwosegmentswilltoucheachother.Forapracticalsolution,mostdesignsystemsemployacurvedescription.Thetypeofdescriptionemployedprimarilydependsontheamountofcontinuityrequired.Curveslabelleda

14、s“quadratics”(suchasthecircular,elliptic,parabolicandhyperbolicarcs)cangivetangentcontinuity;whilst"cubic“curvescanprovidecuivaturecontinuity.Fig2givesasummativeillustrationoftheseproperties.PositionGradientCurvatureLineParabolicFig2:Outlinesthelevelsofcontinuityachievablebetweentwojoiningsegme

15、nts,forthecasesshown.Higherordereddescriptionscanprovidebettercontinuity,butthisisachievedattheexpenseofcomputationalefficiencyandmodellingconversionrates.Forreasonsofsimplicity,therefore,curvedescriptionsabovecubicorderarenormallynotusedtomodeloutlinesofshape,includingthatofcharacteroutlines.Wlienc

16、urvedescriptionsareused,theyareusuallyreferredtoassplines.Thetermsplineoriginatedwellbeforethedaysofcomputergraphics,whenanoutlinewasconstiuctedbymeansofsomeweightsandaflexiblematerial.Theweights(alsocalledducks)werelocatedtoshapetheflexiblematerial(suchaswood)toyieldadesiredoutline.Theprocessisillu

17、stratedinFig3,whereathinelasticmaterial(calledthe,physical,spline)isbentaroundsomeweights.Suchmethodshadapplicationsintheconstmctionofshiphullsandaircraftfuselaees.splineweightFig3:Illustratestheconstructionofacurvedoutlinebyusingasplineandsomeweights.Splinesusedforthemodellingandgenerationofshapeou

18、tlines,suchascharactercontours,makeuseofsimilarproperties.Inthispaper,thefeaturesrelatingtothetwomostacceptabledescriptions,namelytheBtziercubicandtheparabolic,areanalysed.Someinsighttohowineachcaseamodelisgainedandthewayitmaybedisplayedonafiniteresolutiondeviceisgiven.Thepaperalsoprovidesacomparati

19、veanalysis,insumniativefoirn,ofbothdescriptions,andaimstogiveamorepracticaltreatmentofthesubjectmatterthanotherwise.ModellingbyBezierCubicSplinesTheclosestmathematicaldescriptiontothenatural(physical)splineisrealisedbymeansofthecubicform.Thisembodiesthenecessaryflexibifitytopennitatwistwithinitscons

20、truction.Variouscubicformsexist,thoughthroughthepopularityofthePostscriptlanguage,theBeziersplinehasgainedemphasisandisregardedasoneoftheprimarydescriptivetypesformodellingfontoutlines.ABeziercubiccurvesegmentconsistsoffourpoints:twoend-points(oftencalledanchororknotpoints)andtwocontrolpoints.Thekno

21、tpointslieontheoriginaloutlineandareinterpolated;whilstthepositioningofthetwocontrolpointsdetenninestheoverallshapeofthesegment.Intherationalparametricform,eachpointalsohasatensionparameter(sometimesreferredtoastheweight)associatedwithit.Weightsattheknotpointsarecalled4"pointtensions“andareused

22、tosmoothoutacurveshape.Theweightsatthecontrolpointsareusuallylabelledas“intervaltensionsvandaieavailabletotheusertoeitherpulloutwardsorpushinwardstherespectivecurveshape.Takingthenon-rationalparametricformfortheBeziercubicasanexample,themodellingofoutlinesisrealisedthroughthreephases:Thefirstphaseat

23、temptstofindasuitablerelationshipbetweentheparametricvariableusedinthedescriptionandthegivenoutline.Thesecondphasecalculatesrespectivevaluesforthecontrolpoints,whilstthethirdstageevaluatesboththegoodness-of-fitandalsoupdatestherelationshipapproximatedinphaseone.Thewaythesephasesareconnectedtoformamo

24、dellingalgorithmisshowninFig4.Althoughtheabovedescribedapproachyieldsthedesiredmodel,itdoessoataprice,hokingatFig4,itcanbeseenthatthealgorithmusesbothrecursiveanditerativemeanstoprovideanOutput.This,inpractice,meansthatasignificantamountoftimewillberequiredtocomputeanoutput.Thesituationdeterioratesi

25、fmorethanonesegmentwillbeneededtomodelthegivenoutline.Optimisationofthealgorithmisoftenaddressedthroughimprovingeachofthethreestagesmentioned.Farindiscussessomeofthetechniquesemployedforgaininginitialvaluesfortheparametricvariable.Thevaluesforthetwounknowns,thecontrolpoints,canbeevaluatedbymeansofal

26、east-squaresapproach.Thefinalsectioncanbeattainedbyavarietyofways,anotablecontributiontothisareaisbyPlassandStone.ModellingbyParabolicSplinesThepaiabolicarcbelongstothefamilyofconics,whichalsoincludestheelliptic,hyperbolicandcircularspline.Beingquadratic,theymodelusingonelessparameterthanthecubiccas

27、e.Thegeneralconicdescriptionitselfcomprisesoftwoknotpoints,onecontrolpointandatension(henceforthreferredtoastheshaipness)parameter.Variationinthesharpnessvalueyieldsanappropriateconic:zerotooneforanellipticsection,oneforpaiabolicarc,andbetweenoneandinfinityforahyperboliccurve.Thefactthatthesharpness

28、equalsonefortheparaboliccasemakesitattractivetouse.TheTrueTypefont,developedbyApple,employsthisdescriptionforthereasongivenaboveandforthefactthatthereisaonetoonemappingbetweenacubicandaquadraticmodelinthiscase.Theformulationofaparabolic(andthegeneralconic)descriptionisviaaguidingtriangle.AsshowninFi

29、g5,thisisrealisedthroughthetwoknottangentswhichinturnintersectwitheachother,providingthelocationforthedesiredcontrolpoint.Oncethecontrolpointisknown,thecurvesegmentcanbegeneratedusingtheappropriateparametricequation.Althoughsimplerindescriptionthanthegeneralconic(sharpnessequalsone),themostFig5:Illu

30、stratestheconstructionoftheguidingtrianglefbrthegeneralconic,whereS=a/bandisequaltoonefortheparaboliccase.economicalwayofrealisingaparabolicmodelisviaitsassociationwithitsconicfamily.Infact,asmanifestedinFig6,theapproachrequiresthataconicmodelbegainedfirst.Thisisthenassessedtoseehowcloseitistothepar

31、aboliccase.IFtbecomparisonisacceptablethenasolutionhasbeenfoundandthe(conic)controlpointisrecorded.Ifthequalityoffitneedsimprovingthentheconicissplitandmodelledbytwoormoreparabolicarcs.Thismaysoundalengthyprocess,butinrealityitismuchfasterthanthecubiccase:Theconicandtheparabolicmodelsaregainedbymean

32、sofadirectapproach,withouttheneedforiterationorrecursion.Thisamountstoonaverageaboutfivetimesfasterconversationratesthanforthecubic.ComparisonofSplinesWhenattemptingtocomputermodelagivenfontoutline,thecriticalquestionofwhichmathematicaldescriptiontoemployoftenarises.Variousfactorssuchasthefomiofthes

33、upplieddata,thelevelofcontinuitydesiredbetweenjoiningarcs,thetechniquesofevaluatinggoodness-of-fitandsoforth,arecommonconsiderations.ThedecisiontouseBkiercubicorparabolicsplinesismadewithsimilarthoughtsandobservations.Bothdescriptionshavecertainattractionsandanumberofshortcomings.Themainattractionfo

34、rtheBkziercubicsplineisthatithasaninherentcapabilitytotwistwithinasinglesegment,facilitating(atmosttwo)pointsofinflection,acuspandaloop.Itshouldbenotedthat,inpractice,outlinesexhibitingsuchfeaturesareseldomcapturedusingasinglesegment;theyarenormallysplitandmodelledbytwoormoresplines.Theotherappealfo

35、ruserstoemploytheBbiercubicsplineisthepossibilityofcurvaturecontinuityatthejoiningknots.Althoughthismayimprovetheaestheticoutlookofamodelledcharacter,italsoincreasesfurtherthecomputationnecessaiytogainanacceptablerepresentation.Bezier.Cubiu二;w?弱:<>><*>*!*z*<><*什7个7,滂滋缪溺愆谟谈缪:P

36、G同摘1迸滋短然::予;工%出4/二::浅5%,,么葛怒倒安彳*:二?立然%:;工,27兹淀二?:忌老舞£耳:二.-«.».2那遂侨万Canrepresentpointsofinflection;:'Requiresonlycontrol优施湎港领旗邮感哆影Can.givecun/ature.continuousmodels.:二二Cangive旗4ienicontinuousraode民::modbl1110恒0£坛:01110第;%;£,仁次疑RequJ氐:59喻己pereachsegmenL:<>:一,,:.;二.:,

37、丁:,一:;一:然二n:.二九:工二二:二二,.一.I.:二.七二二:.丁.:二?m二;二;二.2蟀姿摩慈苑Needjiteraiive:app而痴比微微稼终战澎鎏缘通ests6111ttmYiglhirgeneraUQnitf球翁粼?:一三捻"七.二二Rathertimeconsuming;,%::分二:薪漆涔百七五好番海翁蕊萨击SS之);:二雄*三源揶5.:总露三髭三;?(5血Rcon益祝rdmrctGFig6:GivesatabulatedaccountofthecharacteristicsfartheBeziercubicandtheparabolicspline.Inco

38、mparison,theparabolicsplinedoesnotinherentlyexhibitthepropertiesofcuivaturecontinuityorthatofbeingabletotwistthroughspace.Thelatterrestrictsasinglearctomodellingoutlineswhichdonotpossessinflectionpoints,cuspsorloops.Asmentionedabove,thisisnotasignificantlossinpractice.Therateatwliichanoutline'sc

39、ontourcanbemathematicallydescribedfbnnsanintegralpartofdesign.Thefactthatiterativetechniquesarerequiredforthecubiccaseresultsinarathertime-consumingenvironment.Theparabolichastheattractionofprovidingadirectsolution,withoutiteration.Aparabolicniodelisinpracticegainedatonlyonefifthofthetimerequiredtog

40、ainacorrespondingBeziercubicrepresentation.-92.中文字符的计算机处理与显示近几年计算机处理物体的轮廓的趋势越来越明显,很多应用者也在寻求更多利益。轮廓处理的最初目的是产生和实体形状相似度很高的计算机模型。数传形式本身可以被处理器快速处理,而且可以在荧屏或激光打印机等装置上显示输出。数传形式还可以应用于数控机器,用以切割或雕刻金属、塑料、木材的轮廓。涉及到字体轮廓的建模、设计和逐步运行时需考虑到数字化的问题。在获取字体的特征方面,传统上是藉由工匠的手和眼睛,而现代则是在设计过程中使用预定义的规范来实现,这样既可以准确地对字体建模乂可以使字体的显示清晰

41、美观。1.绪论工匠们一直都在探索怎样准确美观地表现物体的轮廓。他们藉由手和眼睛获得形体本身的细节、类型、形状。印刷业需要精确地生成和复制字体,所以字体轮廓的产生过程得到了广泛应用。印刷工人不仅要画出要求的轮廓而且要获得特定字体的特征。数以千计的拉丁字体被应用,每一种乂包括至少100个字符,这也使得字符轮廓的建模沉闷费时。计算机的产生实现了程序设计的自动化,归因于CAD、CAM、CAGD等软件的发展。现代印刷业使用特定的设计包对所需字符进行建模,在此过程使用预定义的规范以确保模型能够切实地反应所需字体的特征。现代经济发展要求指定轮廓能够快速精确地计算机化,所以大多设计系统使用数字化描述,这相对手

42、工操作有很大的优势。在模拟图像和设计系统之间可以快速高效地操作,另外图象可以通过简单可行的矩阵不失真地进行转换。简单的数学描述是应用点和点之间的直线段来生成轮廓。如图一所示,可以看出产生的模型大致体现了原始字符,结果的生成需要很多的点和线段,但是不确定结果在美学方面能否被接受图一用直线段描述字符“S”的轮廓直线逼近的另外一个缺点是连接线段的连续性,系统只是零点连续确保两段连在一起,所有实际应用时大多数的设计系统应用曲线逼近,描述类型的选择主要取决于连续性要求。“二次曲线”(例如圆、椭圆、抛物线、双曲线)可以实现切线方向的连续性,“三次曲线”可以实现曲率的连续性,如图二所示:图二两个连接段连续性

43、提高描述的连续性就相对降低了计算的效率和模型转换的效率,所以字符外形的轮廓通常不用三次曲线来模拟。描述应用的曲线通常被称为多项式曲线。多项式曲线产生于计算机绘图之前,可以由重力和柔软性材料创造的轮廓来描述,重力压制柔软材料成型以获得所需轮廓,这种方法已经应用于轮船壳体和航空器机身的制造中,图三显示了弹性材料被重力挤压弯曲的过程。多项式曲线可以应用于形体轮廓的建模和生成,字体轮廓也是相似的原理。图三用重力和柔软性材料说明曲线的构造在形体轮廓例如字符轮廓的建模和生成时应用的多项式曲线具有相同的原理。在这篇论文中主要涉及到两种合适的描述,即Bezier三次曲线和Parabolic曲线。主要研究每种曲线怎样建模以及在指定装置上显示。论文同时也给出了比较性分析,有很大的实际应用作用。百度文库-好好学习,天

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论