Pink 0.9

randimage.c File Reference

random image generation More...


Detailed Description

random image generation

Usage: randimage [in.pgm | rowsize colsize depth] valmax [seed] out.pgm

Description: Generates an image with pixel values uniformly randomly distributed between 0 and valmax (included). If given, the parameter seed is used to initialize the random generator, otherwise the clock is used instead.

Types supported: byte 2D, byte 3D, int32_t 2D, int32_t 3D

Category: signal

Author:
Michel Couprie