Code covered by the BSD License
Highlights from
pnm
-
cmsort(x,map,opt)
CMSORT Sort color map.
-
im2ind(R,G,B)
IM2IND Convert image to indexed image with unique colors in map.
-
im2indd(R,G,B)
IM2INDD Convert image to indexed image (direct conversion).
-
im2indr(R,G,B)
IM2INDR Convert image to indexed image with unique colors in map.
-
im2inds(R,G,B)
IM2INDS Convert image to indexed image with unique colors in map.
-
pbmread(filename)
PBMREAD Read a PBM (portable bitmap) file from disk.
-
pbmwrite(arg1,arg2,arg3,arg4)
PBMWRITE Write a PBM (portable bitmap) file to disk.
-
pgmread(filename)
PGMREAD Read a PGM (portable graymap) file from disk.
-
pgmwrite(arg1,arg2,arg3,arg4,...
PGMWRITE Write a PGM (portable graymap) file to disk.
-
pnmgeti( fid, n )
PNMGETI Get integers from an ascii encoded PBM/PGM/PPM file.
-
pnmmagic( fid, fmt )
PNMMAGIC Find and identify magic number in PBM/PGM/PPM file.
-
ppmread(filename)
PPMREAD Read a PPM (portable pixmap) file from disk.
-
ppmwrite(arg1,arg2,arg3,arg4,...
PPMWRITE Write a PPM (portable pixmap) file to disk.
-
Contents.m
-
Readme.m
-
pnmdemo.m
-
pnmtest.m
-
View all files
from
pnm
by Peter J. Acklam
Read and write portable pixelmaps, portable graymaps and portable bitmaps.
|
| Contents.m |
% Portable Bitmap Toolbox.
% Version 1.003 11-May-1998
%
% Image input/output.
% pbmread - Read a PBM (Portable bitmap) file from disk.
% pbmwrite - Write a PBM (Portable bitmap) file to disk.
% pgmread - Read a PGM (Portable graymap) file from disk.
% pgmwrite - Write a PGM (Portable graymap) file to disk.
% ppmread - Read a PPM (Portable pixmap) file from disk.
% ppmwrite - Write a PPM (Portable pixmap) file to disk.
%
% Color map manipulation.
% cmsort - Sort color map.
%
% Image conversions.
% im2ind - Convert image to indexed image.
% im2inds - Convert image to indexed image (slow/memory efficient).
% im2indr - Convert image to indexed image (by removal).
% im2indd - Convert image to indexed image (direct).
%
% Demos and test programs.
% pnmdemo - Demonstration of portable bitmap utilities.
% pnmtest - Test program for the PNM Toolbox.
%
% Miscellaneous functions.
% pnmgeti - Get integers from an ascii encoded PBM/PGM/PPM file.
% pnmmagic - Find and identify magic number in PBM/PGM/PPM file.
% Author: Peter J. Acklam
% Time-stamp: 1998-05-11 18:16:39
% E-mail: jacklam@math.uio.no (Internet)
% URL: http://www.math.uio.no/~jacklam
|
|
Contact us at files@mathworks.com