视觉感知lab实验报告

视觉感知lab实验报告

ID:41574669

大小:265.53 KB

页数:6页

时间:2019-08-28

视觉感知lab实验报告_第1页
视觉感知lab实验报告_第2页
视觉感知lab实验报告_第3页
视觉感知lab实验报告_第4页
视觉感知lab实验报告_第5页
资源描述:

《视觉感知lab实验报告》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、edgedetector实验报告赵宏伟1实验要求LoadthethreereceptivefieldsDOG.mat,Gaborh.mat,andGaborv.mat(correspondingtothreedifferentneurons),inadditiontotheedgeimages(edges-mat)andtheEinsteinimage(einstein.mat)fromyouremails•(a)Plotthethreedifferentreceptivefieldssidebysidewithinthesamefigure

2、usingimagescandsubplotsoyoucanseewhattheylooklike.Usethescalingoptionforimagesctomakesurethatthegrayscaleforeachisequivalent・i.e.,sotheyaredirectlycomparable.(b)Showwhateachoftheedgeimageslookslikeinthesamemanner-i.e.,byshowingthemsidebysideinthesamefigureusingsubplot.Yoush

3、ouldseethattheyarejustedgesatdifferentpositionsandorientations.(c)Now,foreachofyourneurons,computetheinnerproductbetweenitsreceptivefieldandeachoftheedgeimages.Plotyourresultsforeachneuronasabarplot,withthepositionoftheedgeonthex-axisofeachbarplot.(d)Finally,forreceptivefie

4、ldsDOG,Gaborh,Gaborv,showwhatitwouldlookliketohaveanentirearrayoftheseneuronsprocessingtheEinsteinimage・Youcandothisbytypingpim=conv2(einstein,DOG,'samez);wherepimisyourresultimage・ComparedifferencesoftheresultsfromDOG,GaborhandGaborv.2实验环境(1)pc机:windows7ultimateX86(2)Matla

5、b(2009a)3实验内容A.(1)结果图图1(2)实验代码loadDOG.mat;loadedges,mat;loadeinstein.mat;loadGaborh.mat;loadGaborv.mat;colormap(gray);WS二[-0.20.2];subplot(1,3,1);imagesc(DOG,WS);axisimage;title(,DOG');%显示为第一幅图像并控制缩放,灰度显示subplot(1,3,2);imagesc(Gaborh,WS);axisimage;title('GaborhJ);%显示为第二幅图像并

6、控制缩放,灰度显示subplot(1,3,3);imagesc(Gaborv,WS);axisimage;title(*Gaborv,);%显示为第三幅图像并控制缩放,灰度显示B.(I)结果图QFigure1gleEditViewInsertlookDesktopWindowHelpwjI41qz⑥枳必・ai□s■口2424(2)实验代码»i=l;i);imagesc(edge(:,:,i));axisimage;i=i+l;>>while(i<=8)subplot(2,4,endc.(1)结果图图3DOG与edge的每个点做点积QFigur

7、e3file£dit辺ew[nsertToolsdesktopWindowHelpQdJfe弐头紳◎毀謠•凰□匡I■回❶Notenewtoolbarbuttons:d恥brushing&linkedplots詔电PlayvideoGaborvGabotvGaborvGaborv图4Gaborv与edge的每个点做点积图5Gaborh与edge的每个点做点积(2)实验代码loadDOG.mat;loadedges.mat;loadeinstein.mat;loadGaborh.mat;loadGaborv.mat;figure;fori=l:8

8、subplot(2,4,i);bar(dot(DOG,edge(:,:,i)));xlabel('DOG');endfigure;fori=l:8subplot(2

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。