Complete the empty pixels in the output image. Observe how the averaging can attenuate the effect of random noise (with intensity 5). Pemrosesan Citra Page 2 of 3 Copyright JTEUS, 2005 D:\My Documents\JTEUS\Citra\BookOrg\Modul4 ImAve\Modul4.doc By Nemuel Daniel Pah 14/11/05 Example Input images:
The average image is:
Observe how image averaging can remove random noises.
Matlab Script The above example was created using the following script:
Ad=double(A); Bd=double(B); Cd=double(C); Dd=double(D); Pemrosesan Citra Page 3 of 3 Copyright JTEUS, 2005 D:\My Documents\JTEUS\Citra\BookOrg\Modul4 ImAve\Modul4.doc By Nemuel Daniel Pah 14/11/05
ImOut=(Ad+Bd+Cd+Dd)/4;
ImOut=uint8(ImOut);
figure(1); imshow(A);
figure(2); imshow(B);
figure(3); imshow(C);
figure(4); imshow(D);
figure(5); imshow(ImOut);
Exercise 1. Refer to Matlab manual to understand each line in the above script. 2. Apply image averaging to determine the time imA.jpg, imB.jpg, imC.jpb, and imD.jpg were taken. 3. Exercise image averaging with your own images.