_____________________________________________________________________ CS CS Cosbell masks maps and include template (output map has 1 extra row) ______________________________________________________________________ TYPE OPTIE 22-OCT-1981 04:20:39.92 >>>.CS OPTION .CS OPEN FILE TO BE MASKED FILI=BLUARC There are 13 maps in the file Reading from the file 75 rows of 2000 pixels in R4 format MAPI=13 OPEN OUTPUT FILE FOR MASKED DATA NMAPS= 1 NPLNS= 1 NROWS= 76 NELS= 2000 FILO=TEST Writing to an existing file 76 rows of 2000 pixels in R4 format MAPO=1 ROWI=1:75 OPEN TEMPLATE FILE FILT=BLUARC There are 13 maps in the file Reading from the file 75 rows of 2000 pixels in R4 format MAPT=13 ROWT=38 IRED=0 select channels to use in TEMPLATE (power of 2 or less) OBJECT channels are red shifted by IRED if sufficient room otherwise the MASK region is reduced MVALS=1 500 MASK channels used in TEMPLATE 1 500 PERC=10 OK=Y MEAN WAS 0.28498E+01 MEAN WAS 0.29793E+01 ! It prints out as many mean values as input rows ! Each row is normalized to mean then a COS BELL is applied. i. -------------------------------------------------------------------