To examine this method of processing, we can wait for the next activity which deals more on the properties of Fourier Transform. But from mathematical physics subjects, we know that the Fourier transform of the Fourier transform of x is x. So by manipulating the first Fourier transform, we can adjust the image by separating the signal and noise in the frequency domain.
One property we would like to see is the effect of an aperture on an image. This can be explored by convolving the Fourier transform of both the image and the aperture. So we take an image of the letters VIP made in Paint and take its Fourier transform. We now create an image of a circle with varying radii using Scilab and take its fftshift. Since the circle is already in Fourier space, we just need to shift it to put the circle aperture and the VIP Fourier Transformation into the same reference point. Now, we convolve them by per element multiplying the shifted aperture and the FT of the VIP. By Fourier Transforming once more the convolution, we arrive at the VIP image when seen through an aperture.
(a) (b) (c)
Figure 1: The effect of an aperture on the reconstruction of a Fourier Transform. The images show the effect of an aperture of radius (a) 1, (b) 0.5 and
We can now compare the effect of various radii to the image by producing a circle of radius 0.1, 0.5 and 1. We can see from figure 1 that as the aperture radius increases, the resolution of the VIP image increases. This is because data from the outer regions covered by the aperture does not contribute to the reconstruction of the image.
Now, we look at possible uses of the Fourier Transform. One of the uses is the correlation. Correlation is the convolution of a complex conjugate of the Fourier Transform of a function and the Fourier Transform of the pattern. By taking the correlation, we arrive at a value that determines the degree of similarity of the pattern and the function.
By using this knowledge, we can apply this to words with letters as patterns. So for example, let us take the sentence “THE RAIN IN SPAIN STAYS MAINLY IN THE PLAIN” taken from the movie musical My Fair Lady. And we use the letter A as a pattern. From this, we expect that the highest similarities will occur in the parts of the sentence with the letter A. As we can see in figure 2, this is exactly the case.
No comments:
Post a Comment