MANDRILL - Load the 'mandrill' test signal

Usage

im = mandrill();
im = mandrill(color);

Input parameters

color boolean

Output parameters

none

Description

mandrill() loads the graylevel 'peppers' signal. Peppers is a common image processing test image of resolution (512 x 512).

mandrill(1) loads the color 'peppers' signal.

This signal, and other standard image tests signals, can be found on Morgan McGuire's Computer Graphics Archive`<http://graphics.cs.williams.edu/data/images.xml>`_.

For convenience the output image is normalized by 255 and converted to double.

Example

Load the image and display it:

im = mandrill();
imagescgray(im);
mandrill_1_1.png