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 Options

Examples

open allclose all

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]=

Options  (7)

Applications  (3)

Possible Issues  (1)

Neat Examples  (2)

See Also

Image  ReliefImage  ArrayPlot  MatrixPlot

Introduced in 2010
(8.0)
| Updated in 2012
(9.0)