Posterization of Grayscale 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.

Posterization (tone separation, thresholding) is a process for reducing the tonal information in an image to a number of discrete levels that are subsequently given different colors.


In this Demonstration, a grayscale image is separated into five areas of equal gray-level using four threshold values: to . These areas can be given five distinct colors ( to ) within a selected color scheme.

In Mathematica tone separation is achieved using Binarize and coloring can be done using one of the color schemes in ColorData.


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




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.