I did some work on /n/sources/contrib/maht/imgfs
stripped out a load of stuff and brought import_ppm inside rather than an 
external tool

imgfs
echo glenda > /n/imgfs/new
echo import ppm /n/sources/contrib/maht/imgfs/glenda.ppm > 
/n/imgfs/images/glenda/ctrl

ls -l  /n/imgfs/images/glenda/*

--rw-rw-rw- M 567 maht maht     0 Feb 22 18:54 /n/imgfs/images/glenda/alpha
--rw-rw-rw- M 567 maht maht 10000 Feb 22 18:54 /n/imgfs/images/glenda/blue
--rw-rw-rw- M 567 maht maht     0 Feb 22 18:54 /n/imgfs/images/glenda/ctrl
--rw-rw-rw- M 567 maht maht 10000 Feb 22 18:54 /n/imgfs/images/glenda/green
--rw-rw-rw- M 567 maht maht     3 Feb 22 18:54 /n/imgfs/images/glenda/height
--r--r--r-- M 567 maht maht 30021 Feb 22 18:54 /n/imgfs/images/glenda/ppm
--rw-rw-rw- M 567 maht maht 10000 Feb 22 18:54 /n/imgfs/images/glenda/red
--rw-rw-rw- M 567 maht maht     0 Feb 22 18:54 /n/imgfs/images/glenda/select
--rw-rw-rw- M 567 maht maht     3 Feb 22 18:54 /n/imgfs/images/glenda/width

convolute works like this

echo convolute red 3x3 1.1 1.2 1.3 2.1 2.2 2.3 3.1 3.2 3.3 >  
/n/imgfs/images/glenda/ctrl

and that's as far as I got,
or rather I then started writing rc scripts to make gaussian convolution kernels

page ppm 

works if you want to see your results
writing to red green and blue changes the ppm

matt

Reply via email to