It was prepared with different approaches to Image Processing. Few examples are included in this repo, these are following below:
- Making Triangle and Merge Them (
Triangle_and_merge.m
) - Drawing Line at The Corner on Input Image (
Drawing_line_end_of_the_corner.m
) - Changing Intensity on Image (
Changing Intensity on Image.m
) - Bit-Plane Slicing on Image (
Bit_Plane_Slicing.m
) - Applying Gaussian Lowpass Filter on Image(
Applying Gaussian Lowpass Filter.m
) - Applying 2D Fourier Transform and compare the results(Original Image, Spectrum, Centered Spectrum, Decentralized, Processed Image)
(
2D Fourier Transform.py
)
We are changing the instensity using with matematical operation. First, executed the MATLAB function rgb2gray from input image, then I have converted the gray image to double. Then I was performed the operation. The C value have changed every iteration, each iteration results have displayed.
Original Image
Slicing the image at different planes(bit-planes) plays an important role in image processing.
8-bit per pixel images have processed. Zero is the least significant bit(LSB) and 7 is the most significant bit(MSB)
It was applied Gaussian Lowpass Filter from the input image.
In MATLAB
have already function for filter and calculate automaticly.
fspecial('gaussian',688,x);
code block perform this operation. ( 'x' is sigma value, I was changed this value to compare the results.)
Applying 2D Fourier Transform and Compare The Results(Original Image, Spectrum, Centered Spectrum, Decentralized, Processed Image)
It was applied 2D Fourier Transform from the input image.
I was performed this operation in python
,
because of numpy.fft.fft2
Fast Fourier Transform(FFT) libraries function.
Then, computed and displayed:
Spectrum
- Spectrum
- Centered Spectrum
- Decentralized
- Processed Image
Clone the project
git clone https://github.com/egemengulpinar/Image-Processing.git
Open MATLAB
for .m files, Spyder
for (python file) and import all project files.
It can be executed to who want to displaying results