shown.m
来自「纹理提取的matlab 源代码, 研究图像处理算法的可参考」· M 代码 · 共 31 行
M
31 行
function show(imageData)
% Syntax: show(image, figIdx)
%
% Arg: imageData - image matrix to be show
% figIdx - figure number
%
% Remark: Show the image with equal and tight axis and pink colormap
%
% Author: Haley
% Date: March 04, 1998
% $Revision: 1.0 $
figIdx=figure;
if errargn('show', nargin, [1 2], nargout, 0), error('*'), end
if nargin > 1
figIdx = abs(round(figIdx));
if figIdx ~= 0
figure(figIdx);
else
figure;
end
end
imagesc(imageData);
%colormap(pink(256));
colormap(gray(256));
axis equal;
axis tight;
axis off;
hold on;zoom
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?