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

📄 figim.m

📁 基于"trace transform"的识别2D图像的C++源程序
💻 M
字号:
function figim(im,range)% range can be also the title ('im' goes to the title as well)compl=0; if ~isreal(im), im=abs(im); compl=1; endC=0;if ndims(im)==3, C=1; endif nargin==2  if isnumeric(range) & length(range)>1 % in the range     figure;  if ~C, imagesc(im,range);else image(uint8(im));end; elseif isnumeric(range) & length(range)==1 %fig No.=range if ~C, figure(range);clf;  imagesc(im);else figure(range);clf; image(uint8(im));end; range=''; else figure; if ~C, imagesc(im);else  image(uint8(im));end end end% if nargin==2if nargin==1figure;if ~C, imagesc(im);else  image(uint8(im));endend ttl=inputname(1);if nargin>1, ttl=[ ttl ' : ' num2str(range) ]; endif compl, ttl=[ ttl '   abs of complex!' ]; endtitle(ttl);if ~C, colorbar, end axis image;pixval

⌨️ 快捷键说明

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