Digital Image Processing

Lab 2

Exercise 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 134 and 135 regarding scaling).

Fig3.08(a).bmp

new2.bmp

arithmetic.c

 

 Exercise 2

Single-Pixel Operations

(Page 104) Write a computer program to obtain the negative of an 8-bit image.

Fig0232(a).bmp

complement.c

 

Exercise 3

Affine Transformations

(Page 110) Write a computer program to perform affine transformations.

Fig0236(a)(letter_T).bmp

shear.c