Digital Signal Processing Reference
In-Depth Information
14.3. Given a pixel in an RGB image
R ¼ 200 ; G ¼ 120 ; B ¼ 100
convert the RGB values to YIQ values.
14.4. Given a pixel of an image in YIQ color format
Y ¼ 141 ; I ¼ 46 ; Q ¼ 5
convert the YIQ values back to RGB values.
14.5. Given the 2 2 RGB image,
" 100
#
" 20
#
" 100
#
50
40
50
R ¼
G ¼
B ¼
100
50
10
30
200
150
convert the image into grayscale.
14.6.
Produce a histogram of the following image, which has a grayscale value ranging from 0 to
7, that is, each pixel is encoded in 3 bits.
2
3
01220
21121
11423
02561
4
5
14.7. Consider the following image with a grayscale value ranging from 0 to 7, that is, each pixel
is encoded in 3 bits:
2
3
01220
21121
11423
02561
4
5
Perform equalization using the histogram in Problem 14.6, and plot the histogram for the
equalized image.
14.8. Consider the following image with a grayscale value ranging from 0 to 7, that is, each pixel
is encoded in 3 bits:
2
3
2442
2333
4442
3234
4
5
Perform level adjustment to the full range, shift the level to the range from 3 to 7, and shift the
level to the range from 0 to 3.
Search WWH ::




Custom Search