




已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 车队运输安全合同协议
- 车辆垫资结清协议合同
- 小企业联保循环额度借款合同
- 办公室保洁服务合同
- 车架废铁采购合同协议
- 爸妈离婚协议书
- 个人健康保险代理合同
- 连锁宾馆加盟合同协议
- 清明防火协议书
- 车间地坪供货合同协议
- 2025年保密教育线上培训考试试题及答案
- 2025届百师联盟高三联考模拟预测(冲刺二)语文试题含答案
- 建设工程施工现场生活区设置和管理导则
- DBT29-295-2021 600MPa级高强钢筋混凝土结构技术标准
- 乳腺癌患者生命质量测定量表FACT
- 本溪市生活垃圾焚烧发电项目可行性研究报告
- 基于新公共服务理论我国行政审批制度改革
- 超声引导下的塞丁格穿刺技术
- ISO17025:2017检测和校准实验室能力的通用要求( 中英对照版)
- 保密管理及注意事项培训PPT(22P)
- 医用诊断数字减影血管造影(DSA)性能检测操作规程
评论
0/150
提交评论