Creating Posters from Photographic Images

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration creates a wide variety of posterlike images starting from photos and using the new image processing features of Mathematica 8.


The photographic images are transformed by one of the morphological operations. Then they are binarized using the upper and lower threshold values set by the slider. The images are then divided into morphological components. These are colorized using the different color gradients.


Contributed by: Erik Mahieu (May 2011)
Open content licensed under CC BY-NC-SA



Image segmentation based on tone separation is the conventional method for creating posters from photographic images; see the Demonstration "Posterization of Grayscale Images".

The new mathematical morphology features in Mathematica 8 allow a segmentation of the image based on morphological parameters. This gives a completely different kind of posterization.

The code for the duoSlider is based on the Demonstration "Effects of Bin Width and Height in a Histogram" by Brett Champion.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.