next up previous contents index
Next: pnm.get-rgb pnm x y Up: PNM images Previous: pnm.set! pnm x y

pnm.get-brightness pnm x y procedure

  Returns a pixel value as floating point values between 0.0 and 1.0 (inclusive). Works for any kind of PNM image.

Erik Rauch
Sat May 8 16:42:57 EDT 1999