实验内容

  1. 使用强度变换的图像增强。这个实验主要是尝试各种强度变换的方法来增强图像。下载一个图片,并尝试使用:(a) 对数变换公式g = c*log(1+double(f)) (b) 指数变换公式g = 1./(1 + (m./(double(f) + eps)).^E) 在(a)中只有唯一的参数c,而在(b)中有两个参数c和r。在大多数图像增强任务中,尝试是不可避免的。这个实验的目标是通过(a)和(b)方法得到最好的视觉增强效果。一旦(根据你自己的判断)你得到了两种变换的最好的视觉效果,请解释这两者之间的主要区别。

  2. Histogram Equalization

(a) Write a computer program for computing the histogram of an image.

(b) Implement the histogram equalization technique discussed in Section 3.3.1.

(c) Download Fig. 3.8(a) and perform histogram equalization on it.

As a minimum, your report should include the original image, a plot of its histogram, a plot of the histogram-equalization transformation function, the enhanced image, and a plot of its histogram. Use this information to explain why the resulting image was enhanced as it was.

  1. Arithmetic Operations

Write a computer program capable of performing the four arithmetic operations between two images. This project is generic, in the sense that it will be used in other projects to follow. (See comments on pages 112 and 116 regarding scaling). In addition to multiplying two images, your multiplication function must be able to handle multiplication of an image by a constant.

  1. Spatial Filtering

Write program to perform spatial filtering of an image (see Section 3.5 regarding implementation). You can fix the size of the spatial mask at 3 x 3, but the coefficients need to be variables that can be input into your program. This project is generic, in the sense that it will be used in other projects to follow.

  1. Enhancement Using the Laplacian

(a) Use the programs developed in Projects 03-03 and 03-04 to implement the Laplacian enhancement technique described in connection with Eq. (3.7-5). Use the mask shown in Fig. 3.39(d).

(b) Duplicate the results in Fig. 3.40. You will need to download Fig. 3.40(a).

  1. Unsharp Masking

(a) Use the programs developed in Projects 03-03 and 03-04 to implement high-boost filtering, as given in Eq. (3.7-8). The averaging part of the process should be done using the mask in Fig. 3.34(a).

(b) Download Fig. 3.43(a) and enhance it using the program you developed in (a). Your objective is to choose constant A so that your result visually approximates Fig. 3.43(d).

ch3n2k.com | Copyright (c) 2004-2020 czk.