Main Page Modules File List
addconst.c File Reference
adds a constant value to an image
More...
Detailed Description
adds a constant value to an image
Usage: addconst in.pgm const out.pgm
Description: For each pixel x, out[x] = in[x] + const. If out[x] exceeds 255, then out[x] is set to 255.
Types supported: byte 2d, byte 3d, long 2d, long 3d
Category: arith
- Author:
-
Michel Couprie
Generated on Fri Dec 17 11:59:36 2004 for Pink by
1.2.18