Bee Eye(蜜蜂的视界)

湖北天马养蜂场2011-07-29 15:24:26蜜蜂外部形态14811
BeeEye(蜜蜂的视界)

ProgramDescription

B-EYEsimulatestheopticsofahoneybee's(Apismellifera)eye.Itisbasedonfindingsofanumberofanatomicalandbehaviouralstudies*.Iwillnotgointothebiologicaldetailsofhowthebee'seyeworkshere.InsteadIwillquicklygothroughthestepsofmyprogramtoshowhowabeewouldseeanant,asanexample.TheantistakenfromanillustrationbyMCEscher.

Theprogram'sinputconsistsofagreyscaleimageofthepatternwhichthe[model]beeislookingatandasetofparametersdeterminingthebee'sposition,thedimensionsofthepattern,thedesiredformofoutputetc.Inourcasetheimageisthatshowninfig.1,itshorizontaledgewouldbe2cmlong,andthebeeispositionedatadistanceof2cmdirectlyinfrontofit.

BeeEye(蜜蜂的视界)

Fig.1

B-EYE'sfirststepistoprojecttheflatinputimageontothehemisphereofthebee'sfrontalvisualfield,positionedbetweenthebeeandthepatternandcentredaroundthebee.(Thebee'svisualfieldisactuallymuchbigger,butthepatternwillalwaysbeinfrontofthebee,soweneednotlookbackwards.)Dependingonhowclosethebeeistothepattern(relativetothepattern'ssize),thisstepcandistortthepatternquitesignificantly.Infig.2weareviewingtheprojectedimageonthehemisphere.Thebeeisinside,lookingoutofthescreentowardsthelowerleftcorner,whileweareoutside,somewhereclosetothepattern.

BeeEye(蜜蜂的视界)

Fig.2

Thenextstepiswherethebee'sopticscomeintoplay.Bees,likemostotherinsects,havecompoundeyes,ie.arraysofhundredsofsingleeyes,eachwithitsownlensandeachlookinginadifferentdirection.Tomodelthis,B-EYEusesasinglearrayofommatidia(singleeyes)inwhichalloftherelevantparameters(anglesbetweenommatidia,visualfieldsofommatidia)arethesameasintherealbee.Thismodeleyenowlooksattheprojectedimageonthehemisphere.(Themodelbeecouldjustaswelllookattheoriginalpicture,buttheprojectionontoahemispherereducestheprocessingtimedramatically.)Fig.3showstheresultofthisstep,whereeachsingledotdepictsthegreylevelthattherespectiveommatidiumperceives.Intheinsetthedotswereexpandedtofillinthegaps.

BeeEye(蜜蜂的视界)

Fig.3

Theommatidiaofrealbees'eyesarearrangedinahexagonalarray.Butbecausetheommatidialookindirectionswhicharenotnecessarilyradialwithrespecttothecentreofthebee'shead,thisarraydoesnotcorrespondtotheoneinfig.3.Therefore,ifwewanttoknowwhatabeeseesattheleveloftheretina,wehavetodisplaythearrayasitisontheeye'ssurface,whichisthelaststepofB-EYE.Fig.4showsthefinaloutput,ahexagonalarrayofpatches,eachpatchcorrespondingtooneommatidium.Thewhitearearepresentsthehemisphereofthebee'sfrontalvisualfield.

BeeEye(蜜蜂的视界)

Fig.4

 

TheGallery

TheGalleryoffersyouanumberofpreprocessedimageswhicharereadytodownload.SomeofthemarepatternsIuseinmybehaviouralexperimentstotrainandtestthebees,othersweredesignedtotestB-EYE,andfinallythereareafewmorerealisticscenesaswell.(ThebeeandspiderpicturesoriginatefromtheSmithsonianInstitution.)Eachimagecanberetrievedastheoriginal,theprojectionontoahemisphere(anintermediatestageintheprocessing;foranexplanationseeProgramDescription)orthefinaloutput,ie.theviewthroughabee'seye.湖北天马养蜂场,加我们的微信一起学养蜂。

Theparametersusedfortheprocessingofeachimagewerechosentoproduceinterestingoutputs.Ifyouwanttochooseyourownparameters,theSubmitpageallowsyoutodoso.

B-EYEusesonlygreyscaleimages.OnereasonforthisisthatveryfewofthepatternsIuseformyexperimentscontaincolours.Anotherreasonisthatthebee'scolourperceptionisquitedifferentfromours

Original
Projection
Viewthroughabee'seye
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)
BeeEye(蜜蜂的视界)