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

📄 pgmfilt.m

📁 这是一个基于MATLAB的机器视觉工具箱,里面用很多非常有价值的的程序
💻 M
字号:
%PGMFILT	Pipe image through PGM utility%%	f = pgmfilt(im, cmd)%%	Pipe image through a Unix filter program.  Input and output image %	formats	are PGM.%% SEE ALSO: xv%%	Copyright (c) Peter Corke, 1999  Machine Vision Toolbox for Matlab% 1996 Peter Corkefunction im2 = pgmfilt(im, cmd)	% MATLAB doesn't support pipes, so it all has to be done via temp files...	% make up two file names	fname = ['/tmp/xv' num2str(rand)];	fname2 = ['/tmp/xv' num2str(rand)];	savepgm(fname, im);	unix([cmd ' < ' fname ' > ' fname2]);	im2 = loadpgm(fname2);	unix(['/bin/rm ' fname ' ' fname2]);

⌨️ 快捷键说明

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