Page 301 -
P. 301
FIGURE 9.1
The raw and processed images of a rectangular board photographed from a moving plane.
Top panel: Raw (blurred) image. Bottom panel: Processed image.
N=64;
A=zeros(N,N);
A(15:35,15:45)=1;
colormap(gray);
imagesc(A,[0 1])
where (N N) is the size of the image (here, N = 64).
Now assume that the camera that took the image had moved while the
shutter was open by a distance that would correspond in the image plane to
L pixels. What will the image look like now? (See Figure 9.1.)
The blurring operation was modeled here by the matrix B. The blurred
image is simulated through the matrix product:
A1 = A * B (9.25)
where B, the blurring matrix, is given by the following Toeplitz matrix:
L=9;
B=toeplitz([ones(L,1);zeros(N-L,1)],[1;zeros(N-
1,1)])/L;
© 2001 by CRC Press LLC