Вы находитесь на странице: 1из 1

EEN-521, Digital signal and image processing

Lab assignment: 5
Date: 04.09.2019

I. Demonstration of Basic MatLab Image Processing Toolbox Commands:


1. To read an Image using imread()
2. To write an Image using imwrite()
3. To simultaneously convert the file format of the image and save it using imwrite().
4. To plot the histogram of the image using imhist().
5. To get the information about the image using imfinfo ().
Note: while using imfinfo (‘’) the file name is passed as a string.
6. To get the size of the image using size ().
7. To obtain image negative by using imcomplement().
8. To convert an RGB image to gray scale image using rgb2gray().
9. To resize the image using imresize().
10. To crop the region of interest (ROI) from the image using imcrop().
11. To adjust the contrast of the image by using imadjust().
Note: The values should be specified in between 0.1 to 1.0
12. To perform adaptive histogram equalization using adapthisteq().
13. To add two images together and to add a constant to an image using imadd().
14. To subtract two images together and to subtract a constant from an image using
imsubtract().
15. To multiply two images together and to multiply a constant to an image using immultiply().
16. To divide two images together and to divide a constant to an image using imdivide().
17. To rotate an image by an angle theta using imrotate().

II. Take an arbitrary image in ‘jpg’ format, read it in matlab, convert it to gray scale:-
1. Apply mean filters of dimension : (i) 3 X 3, (ii) 5 X 5, (iii) 10 X 10
2. Apply median filters of dimension : (i) 3 X 3, (ii) 5 X 5, (iii) 10 X 10
3. Apply Gaussian low pass filter of dimension: (i) 5 X 5, (ii) 10 X 10

Вам также может понравиться