⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bs2.m

📁 matlab程序源码,这个是我和同学一起做的,大家可以参考看看怎么样的,谢谢大家,可以提议供大家学!
💻 M
字号:
h0=figure('toolbar','none','position',[198 56 350 468],'name','实例82');
h1=axes('parent',h0,'position',[0.2 0.45 0.5 0.5],'visible','off');
load earth
clims=[10 60];
b1=uicontrol('parent',h0,...
    'units','points',...
    'tag','b1',...
    'style','pushbutton',...
    'string','强度图象',...
    'position',[170 120 50 20],...
    'callback',[...
      'cla,'...
      'imagesc(X,clims),',...
      'colormap(gray)']);
b2=uicontrol('parent',h0,...
    'units','points',...
    'tag','b2',...
    'style','pushbutton',...
    'string','原始图象',...
    'backgroundcolor',[0.75 0.75 0.75],...
    'position',[100 120 50 20],...
    'callback',[...
      'cla,'...
      'image(X),',...
      'colormap(map),',...
      'axis image']);
 b3=uicontrol('parent',h0,...
    'units','points',...
    'tag','b3',...
    'style','pushbutton',...
    'string','真彩图像',...
    'position',[30 120 50 20],...
    'callback',[...
       'cla,',...
       'image(X),',...
       'axis image']);
b4=uicontrol('parent',h0,...
    'units','points',...
    'tag','b4',...
    'style','pushbutton',...
    'string','关闭',...
    'position',[170 50 50 20],...
    'callback','close');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -