Posterization of Grayscale Images

Requires a Wolfram Notebook System


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