Lab 1: Introduction To Digital Image Processing Using Matlab
Lab 1: Introduction To Digital Image Processing Using Matlab
Waqar Tanveer
Department of Computer Engineering
Bahria University, Islamabad
When the values of (x, y ) and f are finite and discrete, then it
is called as a digital image.
a = imread(0 cameraman.tif 0 );
a(2, 3)
Task 1
Consider any RGB image and display it.
Convert it into grayscale and display the result.
Access the intensity values of image. Change the intensity
values in such a way that the intensity values which are less
than 100 should appear as black and the intensity values
which are greater than 150 should appear as white. Rest of
the intensity values remain unchanged. Display the resultant
image.
Explain each step with an explanation of 2,3 lines along with
figures. Also include the code.
Task 2
Read any RGB image and display it.