MATLAB Image Processing Assignment
Objective: Apply basic image processing techniques using MATLAB.
Questions:
1 Q1: Write MATLAB code to read an image and display it.
2 Q2: Write MATLAB code to convert an image to grayscale and display it.
3 Q3: Write MATLAB code to resize an image to half its size and display it.
4 Q4: Write MATLAB code to rotate an image by 45 degrees and display it.
5 Q5: Write MATLAB code to flip an image horizontally and vertically, then display both.
6 Q6: Write MATLAB code to crop a region from an image and display it.
7 Q7: Write MATLAB code to convert an image to grayscale
8 Q8: Write MATLAB code to detect edges using the Canny method.
Bonus (Optional):
1 Apply Gaussian filter to smooth the image.
2 Remove noise using a median filter.
Instructions:
1 Use any sample image (e.g., [Link]).
2 Display results using figure and imshow.
3 Comment your code.
4 Deadline is 1 / 5 /2026 at 12:00 AM. No deliveries will be
accepted after that.