next up previous contents
Next: *imlintran, magnify* - Image Up: Image Manipulation Previous: *imcopy* - Compress an

   
*imcalc* - Image Arithmetic

imcalc provides basic arithmetic operations plus a host of other functions described in the help file.

  cl> images 
  im> imcalc ``imdd = 1.72*  imcc.imh ''               # multiply the value in each
                                                       # pixel of imcc.imh by 1.72. 
                                                         # write output to imdd.imh 

  im> imcalc ``temp_sub=cyg_HSD.imh-40*prf_smo.imh''                 # 40 times the 
                              # (smoothed) model prf is subtracted from cyg_HSD.imh

See Section for another example.



rsdc@cfa.harvard.edu
1998-06-10