Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Image Processing
The aim of this lab acquiring experiments about :
Image Pre-processing.
Morphological operations.
Filter techniques.
Neighborhood operation
In this operation each output pixel is computed from a
Result of neighborhood
In this lab, we implamented [3 3]window silinding
process and block process using matlab. As a result central pixel have the mean value.
Result of neighborhood
Pre-processing
For the processing we applied: Histogram analysis Avarage filtering for the noise reduction median filter to reduction of blurring for enchancement.
As you can see from the removed noise figure, we have minimize the noise by using fspecial matlab function and to make it more clear we used median filtering function to blur it.
tickness egdes of the images. We got three big objects by using bwareaopen.
RESULT
Music notes
In this task we use some morphological processes for
removing staff lines and for getting staff notes such as: we took complament of original image. We cropped staff lines. We increased thicness of the notes as horizontally and vertically. We converted image to binary image form We applied edge detection to notes. We filled the edges of nodes. Since the edges are not touching each other, we could not get the whole result we only remove the lines and some other small objects.
increase sharpness by attenuation the low frequency and leaving high frequencies. Before filtering the images, we converted image from spatial domain to frequency domain with fast fourier transform.
Results...
Removing DC Component
The value of the transform at the origin of the
frequency domain is called for ex (F[0 0]) DC component of the faurier transform where DC signifies direct current (current of zero frequency). To remove DC component on the image, we shift the first [0 0] to the center then, we equalize that value to the zero to compress DC. After getting the result, we shifted our origin back to the [0 0]
Results
frequency componanet which responsable of the texture on surface . We implement low pass filter for smooting .
functions. (It is given in the book) Obtaining the fourier transform with padding. We generated filter function Multiplication of tranfer function by the filter Obtaining the real part of the invers FFT of multiplication results Cropping the top , left rectangle to the original size.
Results
Result of fft