Digital Image Processing

Lab 3

Exercise 1

Averaging Filter

Write a computer program of smoothing with square averaging filter masks of size m = 3, 5, 9, 15, and 35, respectively. (Figure 3.33, Page 155).

Fig0333(a).bmp

Averaging.c

 

Exercise 2

Roberts Cross Gradient Operators

Write a computer program performing the Roberts cross gradient operator on Figure 3.41.  (Page 168)

Fig0342(a).bmp

Roberts.c