Pink 0.9
|
adds a constant value to an image More...
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.
If out.pgm is not specified, then out.pgm = in.pgm.
Types supported: byte 2d, byte 3d, int32_t 2d, int32_t 3d
Category: arith