已阅读5页,还剩24页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
西安文理学院本科毕业设计(论文)第1页附录原文:ProbingpictorialrelieffromexperimentaldesigntosurfacereconstructionAbstract:Theperceptionofpictonalsurfaceshasbeenstudiedquantitativelyformorethan20years.Dutingthistime,the“gaugefiguremethod”hasbeenshowntobeafastandintuitivemethodtoquantifypictorialrelief.Inthismethod,observershavetoadjusttheattitudeofagaugefiguresuchthatitappearstolieflatonasurfaceinpictorialspace.Althoughthemethodhasreceivedsubstantialattentionintheliteratureandhasbecomeincreasinglypopular,aclear,step-by-stepdescriptionhasnotbeenpublishedyet.Inthisarticle,adetaileddescriptionofthemethodisprovided:stimulusandsamplepreparation,performingtheexperiment,andreconstructinga3-Dsurfacefromtheexperimentaldata.Furthermore,software(writteninPsychToolbox)basedonthisdescriptionisprovidedinanonlinesupplement.Thisreportservesthreepurposes:First,itfacilitatesexperimenterswhowanttousethegaugefiguretaskbuthavebeenunabletodesignit,duetothelackofinformationintheliterature.Second,thedetaileddescriptioncanfacilitatethedesignofsoftwareforvariousotherplatforms,possiblyWeb-based.Third,themethoddescribedinthisarticleisextendedtoobjectswithholesandinnercontours.Thisclassofobjectshavenotyetbeeninvestigatedwiththegaugefiguretask.Keywords:Depthperception.Pictorialspace.3DshapeIntroductionAlmost20yearsago,Koenderink,vanDoorn,andKappers(1992)publishedakeystudyonquantifyingtheperceived3-Dstructureofapictorialsurface.Theirexperientaltaskwastoadjusttheattitudeofagaugefigureprobe.Thegaugefigureconsistsofacirclewitharodthatsticksoutperpendicularlyfromthemiddle.Observersareinstructedtomanipulatethe3-Dorientationofthisprobesuchthatthediskappearstolieflatonthepictorialsurface,whiletherodconsequentlysticksoutinthenormaldirection.Sincethen,numerousresearchershaveusedthisparadigmtostudyvisualperceptionor3-Dshape.Yetthecommunityofscientistsusingthismethodhasbeenlimitedtothosewhounderstandtheunderlyingmathematicsandareabletoexperimentallyimplementthismethod.Detaileddocumentationhasneverbeenpublished西安文理学院本科毕业设计(论文)第2页inacompletefashion.Thisarticlewillexplainindetailallstepsoftheprocedure.Furthermore,softwarewrittenforPsychToolbox(Brainard,1997;Pelli,1997)ismadeavailablethatcoversallofthesestepsandshouldleadtoaneasilyusableprocedure,bymeansofwhichanyuserofPsychToolboxcanconductgaugefigureexperiments.TheprocedureforrunninganexperimentisvisualizedinFig.1.Eachofthestepscanbedescribedasfollows.ContourselectionAfterselectingastimulusimage,theexperimenterneedstoselectwhichpartofthepictorialsurfaceistobeusedfortheexperiment.TriangulationWithinthecontour,measurementsamplesneedtobedefined.Thisisdoneusingatriangulationgrid.ExperimentAfteritissetup,theexperimentcanbeconducted.Thegaugefigureprobeshouldberenderedinthepicture,andtheobservershouldbeabletomanipulateitsattitude.Fig.1Illustrationofthefourproceduralsteps3-DreconstructionOnthebasisoftheobserverssettings,the3-Dsurfacecanbereconstructed.Thesedataarethefinalresult;furtheranalysiswilldependonthespecificresearchquestion,andshouldthusbedesignedbytheexperimenter.Thesefourstepswillnowbeexplainedindetail.Contourselection:First,animageisneeded.Someshapeshouldbevisible,preferablyasmoothone.Inpreviousresearch,onlyanoutercontourwasdefined.Themethodpresentedherealsoallowsfordefiningaholeandinnercontours.ThesethreetypesofcontoursarevisualizedinFig.2.Theexperimentercandefinethecontourmanuallybyselectingcontoursamplepointsthatformapolygonthatapproximatestheactualcontour.Thedistancebetweenthecontoursamplepointscanhaveapproximatelythesamesizeasthetriangulationfaces.Asamplingofcontourpoints,asshownbythereddotsinFig.3,isthussufficientlydetailed.Theoutputofthecontourprocedureconsistsofthreesetsofcoordinates,fortheouter,inner,andholecontours,whichcanbewritteninn-by-2arrays.Apointonthecontourcanbewrittenascjxj;yj,whereqdefinesthecontourtypebythelettero,h,oriforouter,hole,orcontours,thelastelement(say,nandm,respectively)Triangulation:西安文理学院本科毕业设计(论文)第3页Basedonthecontourdata,thetriangulationcanbedefined.Tothisend,atriangulargridisusedthatinprinciplecoversthewholescreen.However,onlypointswithintheoutercontourthatarenotwithintheholecontourshouldbeusedanddisplayed(atthisstage,innercontoursareneglected).Thisrequiresanalgorithmtotestwhetherapointisbetweentheouterandholecontours.Contour-enclosedpointsfilteringAscanbeseeninFig.3,asimplerulecanbedefinedtoassesswhetherapointpiiswithintheclosedcontours:Whenahorizontallineisdrawninthepositivexdirection,itintersectsanumberoftimeswiththeclosedcontour.Ifthisnumberisodd,piiswithintheclosedcontours.Thus,thenumberofintersectionsneedstobecalculated.First,weneedtoselectcontourpointpairswhosecoordinatesenclosethey-coordinateofthepoint.InFig.3,thesepairsareci,ci+1andcj,cj+1.Nowwecandefinestraightlinesthroughthesepointpairs.Astraightlinethroughtwosubsequentcontourpointsci=(xi,yi)andci+1=(xi+1,yi+1)canbedefinedasy=ax+b,witha=(yi+1yi)/(xi+1xi)andb=yiaxi.Fig.2Definitionofthethreetypesofcontours西安文理学院本科毕业设计(论文)第4页Fig.3VisualizationofthealgorithmthattestwhetherapointiswithintheclosedcontoursWhenthisprocedureisperformedforallpoints,wegetoneintersectionforp1(odd,andthusthispointisinsidetheclosedcontours),twointersectionsforp2(outside),andsoforth.Testingwhetherapointiswithintheclosedcontoursiscomputationallylaborious.Therefore,theproceduremayincludeaninitialselectionofthetriangulationpositionsthatarewithintherectangledefinedbythewidthandheightoftheoutercontour,asisshownbytheouterdottedlineinFig.3.AdjustingthetriangulationgridsizeandpositionItcanbeusefulfortheexperimentertoadjustthegridsizeandpositionofthetriangulationinrealtime.Thiscanbedoneusingtheproceduresdescribedabove,whicharealsoimplementedinthesupplementalsoftware.Inthesoftware,thepositioncanbeadjustedwiththemouseandgridsizebythearrowkeys,asisillustratedinFig.4a,butothertypesofimplementationsmaybeequallyuserfriendly.CalculatingfacesandbarycentresandperformingfinalpointfilteringUptonow,onlypointsthatspanthetriangulargridhavebeenused,withoutexplicitfacenumbering.However,thereconstructionalgorithmrequiresexplicitinformationaboutthevertexnumbersthatconsti-tutethetriangles.Eachface(triangle)isdefinedbythreevertices,soadefinitionofallfacescomprisesanm-by-3matrix,withasetofthreenumbersineachrowthatrefertothevertices.Notethatthenumberoffacesdoesnotequalthenumberofvertices.Thefacescanbecalculatedwithabrute-forcemethod,whichiswhythisalgorithmisnotusedduringthereal-timeadjustmentofgridsizeandlocation.Havingdefinedtheindividualtriangles,wecancalculatethebarycentresofthefaces,whicharetheactualsamplepointswherethegaugefigurewillberendered.Lastly,trianglescrossingtheinnercontoursneedtobefiltered.Tothisend,alineintersectionalgorithmisneeded.Thebasicquestionis,dot
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 福建省建设项目水资源论证表(AB)
- 2019年江苏高职单招数学真题试卷
- 仁爱版九年级英语上册总复习课件全套
- 注册岩土工程师之岩土专业知识每日一练试卷B卷含答案
- 中国古代服饰之秦汉服饰
- 学院先进团支部申报事迹材料(多篇)
- 《昼夜交替现象作业设计方案-2023-2024学年科学教科版2001》
- 《旅游组织作业设计方案》
- 《做个岩石百宝箱导学案-2023-2024学年科学青岛版五四学制》
- 《计量时间导学案-2023-2024学年科学牛津上海版五四学制》
- 2023年广东省广州市番禺区招聘社区专职人员73人笔试参考题库(共500题)答案详解版
- 以中国式现代化全面推进中华民族伟大复兴PPT新时代坚持和发展中国特色社会主义的目标任务PPT课件(带内容)
- 纳迪亚之宝全流程攻略 100%完结完整通关指南
- 野外驻训卫生防病
- 软件工程大作业 (2)
- 求线段实长的三种方法.ppt
- 新进阶大学英语2综合 Unit 1Living Green(课堂PPT)
- 《从优秀到卓越》学习总结
- 用PB WebService应用.ppt
- 狂犬病疫苗知情同意书(新版)
- 腹腔镜右半结肠癌规范化手术ppt课件
评论
0/150
提交评论