M-File Help: pnmfilt | View code for pnmfilt |
Pipe image through PNM utility
out = pnmfilt(cmd) runs the external program given by the string cmd and the output (assumed to be PNM format) is returned as out.
out = pnmfilt(cmd, im) pipes the image im through the external program given by the string cmd and the output is returned as out. The external program must accept and return images in PNM format.
im = pnmfilt('ppmforge -cloud'); im = pnmfilt('pnmrotate 30', lena);
© 1990-2012 Peter Corke.