BUILT-IN MATHEMATICA SYMBOL

# RandomImage

RandomImage[max, {width, height}]
gives an image of dimensions with pseudorandom pixel values generated from a uniform distribution in the range 0 to max.

RandomImage[{min, max}, {width, height}]
generates pixel values using a uniform distribution in the range min to max.

RandomImage[dist, {width, height}]
generates pixel values using a symbolic distribution dist.

RandomImage[max, {width, depth, height}]
gives an Image3D object of dimensions .

## ExamplesExamplesopen allclose all

### Basic Examples (8)Basic Examples (8)

Generate a random image:

 Out[1]=

Generate a random image with values in the upper quartile:

 Out[1]=

Generate an image of Laplacian noise:

 Out[1]=

A random image where the first two channels are correlated:

 Out[1]=

Generate an RGB image simulating salt-and-pepper noise using a heavy-tail distribution:

 Out[1]=

Generate an image with constant intensity:

 Out[1]=

Create a grayscale 3D random image:

 Out[1]=

Create a color 3D image:

 Out[1]=