Top Banner
1 Chapter 6 Color Image Processing
76
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 06

1

Chapter 6Color Image Processing

Page 2: Chapter 06

2

Preview• Color image processing is divided into

two major areas– Full color– Pseudo color

Page 3: Chapter 06

3

6.1 Color Fundamentals

• The Color spectrum may be divided into six broad regions. (1666)– As Fig 6.1 shows

• Visible light is composed of a relative narrow band of frequencies.– As illustrated in Fig 6.2

Page 4: Chapter 06

4

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 5: Chapter 06

5

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 6: Chapter 06

6

6.1 Color Fundamentals

• For human eye – Approximately 65% of all cone are

sensitive to red light– 33% are sensitive to green light– 2% are sensitive to blue light

• But blue cones are the most sensitive.– Fig 6.3 shows average experimental

curves detailing the absorption of light by the red, green, and blue cones in the eye.

Page 7: Chapter 06

7

Page 8: Chapter 06

8

6.1 Color Fundamentals

• Primary colors– Red (R)– Green (G)– Blue (B)

• Secondary colors– Magenta (red + blue)– Cyan (green + blue)– Yellow (red +green)

Page 9: Chapter 06

9

6.1 Color Fundamentals

• Prime colors of light vs. Prime colors of pigments– Fig. 6.4

Page 10: Chapter 06

10

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 11: Chapter 06

11

6.1 Color Fundamentals

• Another color characteristics– Brightness

• Chromatic notation of intensity– Hue

• Dominant wavelength in a mixture of light waves

– Saturation• The mount of white light mixed with hue

Page 12: Chapter 06

12

6.1 Color Fundamentals

• Chromaticity – Hue and Saturation• CIE chromaticity diagram

– Fig. 6.5• Typical range of colors (color gamut 色階)

produced by RGB monitors– Fig. 6.6

Page 13: Chapter 06

13

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 14: Chapter 06

14

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 15: Chapter 06

15

6.2 Color Models

• Color model also called– Color space– Color system

• The RGB Color Model– The color subspace of interest is the cube

shown in Fig. 6.7.– Fig. 6.8 - RGB 24-bit color cube– A color image can be acquire by using

three filters – Fig. 6.9.

Page 16: Chapter 06

16

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 17: Chapter 06

17

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 18: Chapter 06

18

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 19: Chapter 06

19

6.2 Color Models

• The set of safe RGB colors – Many systems in the use today are limited

to 256 colors.– Also call the set of all-system-safe colors– In Internet application – safe Web colors or

safe browser colors– 40 colors are processed differently by

various O.S.– 216 colors – each RGB value can only be

0, 51, 102, 153, 204, or 255. (63 = 216) – Table 6.1, Fig. 6.10, and 6.11

Page 20: Chapter 06

20

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 21: Chapter 06

21

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 22: Chapter 06

22

6.2 Color Models

• The CMY and CMYK Color Models– RGB to CMY – Eq. 6.2-1 (pp.294)– K – is the added color, black

• The HIS Color Model – Fig 6.13 and 6.14– When human view a color object

• Hue (H)• Saturation (S)• Brightness or intensity (I)

Page 23: Chapter 06

23

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 24: Chapter 06

24

Page 25: Chapter 06

25

6.2 Color Models

• Converting color from RGB to HSI– Eq. 6.2-2 ~ Eq. 6.2-4

• Converting color from HSI to RGB– Eq. 6.2-5 ~ Eq. 6.2-15

• Example 6.2 – The HIS values corresponding to the

image of the RGB color cube – Fig. 6.15.• Manipulating HIS component image

– Fig. 6.16 and 6.17

Page 26: Chapter 06

26

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 27: Chapter 06

27

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 28: Chapter 06

28

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 29: Chapter 06

29

6.3 Pseudo-color Image Processing

• Also called false color• Intensity slicing

– Assigned different color to each side of the intensity plane

– Fig. 6.18– Fig. 6.19

Page 30: Chapter 06

30

Page 31: Chapter 06

31

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 32: Chapter 06

32

6.3 Pseudo-color Image Processing

• Example 6.3– Medical monochrome image - Fig. 6.20– X-ray monochrome image - Fig. 6.21

• Example 6.4– Use of color to highlight rainfall levels– Fig. 6.22

Page 33: Chapter 06

33

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 34: Chapter 06

34

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 35: Chapter 06

35

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 36: Chapter 06

36

6.3 Pseudo-color Image Processing

• Gray level to color transformations– Functional block diagram for pseudo-color

image processing• Fig. 6.23

– Example 6.5• Use of pseudo-color for highlighting explosive

contained in luggage.• Fig. 6.24• Transformation function is shown in Fig. 6.25

Page 37: Chapter 06

37

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 38: Chapter 06

38

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 39: Chapter 06

39

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 40: Chapter 06

40

6.3 Pseudo-color Image Processing

– Combine several monochrome image into a single color composite

• Fig. 6.26– Example 6.6

• Color coding of multi-spectral images• Fig. 6.27 – ground• Fig. 6.28 – Jupiter Moon Io

Page 41: Chapter 06

41

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 42: Chapter 06

42

Page 43: Chapter 06

43

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 44: Chapter 06

44

6.4 Basics of full-color image processing

– Divide a pixel in an color image into three components – Eq. 6.4-2

– Using spatial masks for RGB color images• Fig. 6.29

Page 45: Chapter 06

45

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 46: Chapter 06

46

6.5 Color Transformations

– Same as the gray-level transformation techniques of Chapter 3

– Use color mapping functions for each color component

• See Eq. 6.5-2 (pp.315)• Color-space components – Fig 6.30• Adjusting the intensity of an image using color

transformations – Fig. 6.31

Page 47: Chapter 06

47

Page 48: Chapter 06

48

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 49: Chapter 06

49

6.5 Color Transformations

– Color Complements• The Hues directly opposite one another on the

color circle• Fig. 6.32• Example 6.7

– Computing color image complements.– Fig. 6.33

Page 50: Chapter 06

50

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 51: Chapter 06

51

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 52: Chapter 06

52

6.5 Color Transformations

– Color Slicing• Useful for separating objects from surroundings• Example 6.8

– Fig. 6.34

– Tone and Color Corrections• Digital darkroom• Need a device independent color model

– CIE L*a*b*– Eq. 6.5-9 ~ Eq. 6.5-12 (pp.322)

Page 53: Chapter 06

53

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 54: Chapter 06

54

6.5 Color Transformations

– L*a*b* color space is• Colorimetric • Perceptually uniform• Device independent• Not a directly displayable format

– L*a*b* color components• Lightness (L*)• Red – green (a*)• Green – blue (b*)

Page 55: Chapter 06

55

6.5 Color Transformations

• Example 6.9– Tonal transformations– Fig. 6.35

• Example 6.10– Color balancing– Fig. 6.36

– Histogram Processing• Histogram equaliztaion

– Example 6.11 – in HIS color space (Fig. 6.37)

Page 56: Chapter 06

56

Page 57: Chapter 06

57

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 58: Chapter 06

58

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 59: Chapter 06

59

6.6 Smoothing and Sharpening

– Color image smoothing• In the RGB color images

– Eq. 6.6-1 and 6.6-2 (pp. 328)

• Example 6.12 – color image smoothing by neighboring averaging– Fig 6.38 and Fig. 6.39– Difference image is shown in Fig. 6.40

Page 60: Chapter 06

60

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 61: Chapter 06

61

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 62: Chapter 06

62

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 63: Chapter 06

63

6.6 Smoothing and Sharpening

– Color image sharpening• In the RGB color images

– Eq. 6.6-3 (pp. 330)

• Example 6.13 – color image sharpening the Laplacian– Fig 6.41

Page 64: Chapter 06

64

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 65: Chapter 06

65

6.7 Color Segmentation

– Segmentation in HSI Color Space• Example 6.14

– Fig. 6.42

– Segmentation in RGB Color Space• Example 6.15

– Fig. 6.44

– Color Edge Detection• Consider Fig. 6.45• Example 6.16 – RGB color image

– Fig. 6.46 and 6.47

Page 66: Chapter 06

66

Page 67: Chapter 06

67

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 68: Chapter 06

68

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 69: Chapter 06

69

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 70: Chapter 06

70

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 71: Chapter 06

71

6.8 Noise in Color Image

– Usually, the noise content of a color image has the same characteristics in each color channel.

– Example 6.17• Illustration of the effects of converting noisy

RGB images to HSI• Fig. 6.48, 6.49, and 6.50

Page 72: Chapter 06

72

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 73: Chapter 06

73

Chapter 6Chapter 6Color Image ProcessingColor Image Processing

Page 74: Chapter 06

74

Chapter 6Color Image Processing

Chapter 6Color Image Processing

Page 75: Chapter 06

75

6.9 Color Image Compression

– RGB– HSI– CMY(K)

– Example 6.18• JPEG 2000 image compression• Fig. 6.51

Page 76: Chapter 06

76

Chapter 6Color Image Processing

Chapter 6Color Image Processing


Related Documents