ENG EK 127 Chapter Notes - Chapter 13: Discrete-Time Signal, Sound, Color Mapping

73 views6 pages

Document Summary

Color images in matlab are represented by matrices of colored pixels. Color can be represented in two ways. True color: three rgb color components are stored in layers of a 3d matrix. Colormap: the value for each pixel is an integer that refers to a row in the colormap matrix made up of columns of rgb values. Truecolor uses uint8 variables while colormap uses double values. When an image is processed it is processed into a m x n matrix, where each value represents a row of rgb values stored in a colormap matrix. The default colormap is named parula which stores 64 different colors. By using real numbers (0-1) can get different shades from a color map image(mat): creates an image from the matrix. Consists of a 3d matrix with 1 = r, 2 = g, 3 = b.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents