<< Chapter < Page Chapter >> Page >

Questions or comments concerning this laboratory should be directedto Prof. Charles A. Bouman, School of Electrical and Computer Engineering, Purdue University, West Lafayette IN 47907;(765) 494-0340; bouman@ecn.purdue.edu

Introduction

This is the second part of a two week experiment in image processing.In the first week, we covered the fundamentalsof digital monochrome images, intensity histograms, pointwise transformations, gamma correction, and image enhancement based on filtering.

During this week, we will cover some fundamental concepts of color images. This will include a brief description on how humans perceive color,followed by descriptions of two standard color spaces . We will also discuss an application known as halftoning , which is the process of converting a gray scale image into a binary image.

Color images

Background on color

Color is a perceptual phenomenon related to the human response to different wavelengths of light, mainly in the region of 400 to 700nanometers (nm). The perception of color arises from the sensitivities of three types ofneurochemical sensors in the retina, known as the long (L), medium (M), and short (S) cones . The response of these sensors to photonsis shown in [link] . Note that each sensor responds to a range of wavelengths.

Relative photon sensitivity of long (L), medium (M), and short (S) cones.

Due to this property of the human visual system, all colors can be modeled as combinations of the three primary color components: red (R), green (G), and blue (B).For the purpose of standardization, the CIE (Commission International de l'Eclairage — the International Commission on Illumination)designated the following wavelength values for the three primary colors: blue = 435 . 8 n m , green = 546 . 1 n m , and red = 700 n m .

The relative amounts of the three primary colors of light required to produce a colorof a given wavelength are called tristimulus values . [link] shows the plot of tristimulus values using the CIE primary colors.Notice that some of the tristimulus values are negative , which indicates that colors at thosewavelengths cannot be reproduced by the CIE primary colors.

Plot of tristimulus values using CIE primary colors.

Color spaces

A color space allows us to represent all the colors perceived by human beings.We previously noted that weighted combinations of stimuli at three wavelengths aresufficient to describe all the colors we perceive. These wavelengths form a naturalbasis, or coordinate system, from which the color measurement process can be described. In this lab, we will examine two common color spaces: R G B and Y C b C r . For more information, refer to [link] .

  • RGB space is one of the most popular color spaces, and is based on the tristimulus theory of human vision, as described above.The RGB space is a hardware-oriented model, and is thus primarily used in computer monitors and other raster devices.Based upon this color space, each pixel of a digital color image has three components: red, green, and blue.
  • Y C b C r space is another important color space model. This is a gamma corrected space defined by the CCIR (InternationalRadio Consultative Committee), and is mainly used in the digital video paradigm.This space consists of luminance ( Y ) and chrominance ( C b C r ) components. The importance of the Y C b C r space comes from the fact that the human visual system perceives a color stimulus in terms of luminance and chrominance attributes, rather thanin terms of R , G , and B values. The relation between Y C b C r space and gamma corrected R G B space is given by the following linear transformation.
    Y = 0 . 299 R + 0 . 587 G + 0 . 114 B C b = 0 . 564 ( B - Y ) + 128 C r = 0 . 713 ( R - Y ) + 128

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask