已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 城市步行街排水沟施工合同范本
- 家政服务公司法务聘用合同
- 二零二四年体育场馆建设承包合同2篇
- 地下硅石矿钻探施工合同
- 中医病房护工聘用合同
- 2024年度钢琴配件供应与维修服务合同3篇
- 2024年度海洋工程装备制造合同3篇
- 2024年度钢筋原材料专利申请采购合同3篇
- 2024年度卫星通讯服务合同3篇
- 2024年度装修装饰粉刷合同2篇
- 2024年中国心力衰竭诊断和治疗指南2024版
- 国开(内蒙古)2024年《创新创业教育基础》形考任务1-3终考任务答案
- 食品安全日管控、周排查及月调度记录表
- 工程伦理学智慧树知到期末考试答案章节答案2024年广东工业大学
- 2024入团知识题库(含答案)
- 《预防传染病》 完整版课件
- 职业发展展示园林
- 新苏教版六年级上册科学全册知识点(精编)
- HCCDP 云迁移认证理论题库
- 年产xxx吨维生素D3项目可行性研究报告【参考模板】
- 家具销售技巧篇
评论
0/150
提交评论