Colorize

Colorize[m]
generates an image from an integer matrix m, using colors for positive integers and black for non-positive integers.

Colorize[image]
replaces intensity values in image with pseudocolor values.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Colorize a grayscale image:

In[1]:=
Click for copyable input
Out[1]=

Colorize a label matrix returned from a segmentation:

In[1]:=
Click for copyable input
Out[1]//Short=
In[2]:=
Click for copyable input
Out[2]=

Colorize a 3D label matrix:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2010
(8.0)
| Updated in 2012
(9.0)