3-D Visualization Previous page   Next Page

Altering Colormaps

Because colormaps are matrices, you can manipulate them like other arrays. The brighten function takes advantage of this fact to increase or decrease the intensity of the colors. Plotting the values of the R, G, and B components of a colormap using rgbplot illustrates the effects of brighten.

NTSC Color Encoding

The brightness component of television signals uses the NTSC color encoding scheme.

Using the nonlinear grayscale map,

effectively converts a color image to its NTSC black-and-white equivalent.


Previous page  Example -- Mapping Surface Curvature to Color Truecolor Surfaces Next page

© 1994-2005 The MathWorks, Inc.