matlab_GUI_1-【Matlab教程】matlab_GUI 视频教程||新手入门必备

AID:
CID:
视频图片:
作者头像:
弹幕地址:
视频描述:

热门回复:

  • 牧师宁烤tank:第二个视频的 global im %选择图片路径 [filename,pathname]=... uigetfile({'*.jpg';'*.bnp';'*gif'},'选择图片'); %合成路径+文件名 str=[pathname filename]; %读取图片 im=imread(str); %试用第一个axes axes(handles.axes1); %显示 imshow(im);
  • 天叡:第二个视频没有声音~
  • 牧师宁烤tank:第三个视频的 global im %使用全局变量im str=get(hObject,' string');%拿到所选按钮的名称 axes(handles.axes1); switch str case'原图' imshow(im); case'sobel' Bw = edge(rgb2gray(im),'sobel'); imshow(Bw); case'prewitt' Bw = edge(rgb2gray(im), 'prewitt' ); imshow(Bw); case 'canny' Bw = edge(rgb2gray(im), 'canny'); imshow(Bw); end;
  • 柚柚so_cute:第五个视频里,为什么我按照视频中的程序写,却提示我fgets使用错误啊
  • 能不能好好休息:好东西[小电视_赞]

http://acg.ibilibili.com/cms/yirenzhixia/7.html