{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

9.4 Images & Sounds

# Howcanwegetmorecolors colorrepresentation

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CE GROWS QUADRATICALLY: n x n = n2 Color Representation Color Representation What kind of images can we create if we use 1 bit per pixel? How can we get more colors? Color Representation Color Representation Each pixel has 3 color dots: RGB: the three primary colors of light. IDEA: represent a pixel with 3 bits: RGB 000 = no dot lit (black) 111 = R, G, B lit (white light) 100 = R lit (pure red) 110 = R, G lit (yellow light) PROBLEM: only allows 8 different pixel colors Color Depth (also “Bit Depth”) Color Depth Allocate more bits for each of R, G, B to describe amount of light (intensity) for each color. 6­bit color depth: 01 11 00 = intensity 1 for red intensity 3 for green intensity 0 for blue what is code for pink? 26 = 64 Allows for ______________ different colors Color Depth “True color” = 24 bits = 8 bits/color millions of colors: more than eye can discern Indicate RGB by 3 (decimal) numbers between 0 and 255 [example: 102, 223, 46 ] OR by 6 hex values = 2 per color = 8 bits/color) [example: 66DF2E] Color Cube Color Cube R, G, B are three axes of a three­ dimensional “cube” of color http://www.draac.com...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern