已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024-2029年云母纸行业市场现状供需分析及市场深度研究发展前景及规划投资研究报告
- 2024-2029年中国酸性乳饮料行业发展趋势及发展前景研究报告
- 2024-2029年中国气雾罐行业现状供需分析及市场深度研究发展前景及规划投资研究报告
- 2024-2029年中国摩托车护理剂行业市场发展分析及发展趋势预测与战略投资研究报告
- 2024-2029年中国实体超市行业市场发展前瞻及投资战略研究报告
- 广东省广州市白云区2024届高三下学期联考英语试题含解析
- 2024-2029年中国养殖行业市场现状供需分析及市场深度研究发展前景及规划投资研究报告
- 2024-2029年中国保健型茶饮料行业发展现状及发展趋势与投资风险分析报告
- 2024-2029年中国一次性医用输液器行业发展分析及投资风险预测分析报告
- 广东深圳罗湖外国语学校2024年高三第一次模拟考试英语试卷含解析
- 毕业设计(论文)法兰盘机械加工工艺及工装设计
- 探火管灭火装置简介
- 《中学生体质健康状况调查》综合实践活动方案
- 石油化工产业链简图
- 混合动力系统行星齿轮变速器的设计说明书(1
- 化工原理课程设计精馏塔工艺设计计算
- 农家乐消防安全应急预案
- 840D模具制造机床的操作
- 电机学英文版课件
- 34 35 千伏线路简易防雷技改措施
- 医院内部控制工作经验做法及取得成效
评论
0/150
提交评论