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

📄 display_image_layout.m

📁 A toolbox for the non-local means algorithm
💻 M
字号:
function display_image_layout(Mlist, TitleList, a, b)% display_image_layout - display a set of images together% %   display_image_layout(Mlist, TitleList, a, b);%%   Image should be in [0,1].%   b is the number of row (optional)%   a is the number of columns (optional)%% Example:%   display_image_layout( {A B}, {'image 1' 'image 2'} );%%   Copyright (c) 2007 Gabriel Peyrem = length(Mlist);if nargin<3    a = round( sqrt(m)/1.2 );endif nargin<4    b = ceil( m/a );endif a*b<m    warning('You must increase a and b');    m = a*n;endclf;ax = [];for i=1:m    M = Mlist{i};    ax(end+1) = subplot(a,b,i);    image( clamp(M)*255 ); axis image; axis off;    title(TitleList{i});endlinkaxes(ax, 'xy');colormap gray(256);

⌨️ 快捷键说明

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