DIP Lab1
DIP Lab1
REGISTRATION-ID: 222650,220610,220568
COURSE: DIP
DATE: 19-Feb-2025
AIR UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
EXPERIMENT NO 1
Objective: The objective of this lab session is to introduce you to MATLAB environment and perform
basic image operations like reading, displaying, and manipulating images.
LAB ASSESSMENT:
Data presentation
Experimental results
Conclusion
Objectives:
The objective of this lab session is to introduce you to MATLAB environment and perform
basic image operations like reading, displaying and manipulating images.
Equipment’s Required:
• Computer.
• MATLAB.
LAB TASK: 01
1. Getting Started with MATLAB:
Open MATLAB on your computer.
Familiarize yourself with the MATLAB environment, including the Command
Window, Current Folder, and Workspace.
Explanation:
Command Window: Where you enter and run commands.
Current Folder: Shows the files in your current working directory.
Workspace: Displays the variables and their values that are in memory.
Explanation:
imread(): Imports an image into the MATLAB workspace.
imshow(): Shows the imported image in a figure window.
Explanation:
imresize(): Scales the image to a given size, enlarging or reducing it.
imrotate(): It rotates the image by a given angle, reversing its orientation
Explanation:
flipud(): Flips the image upside down (vertically).
fliplr(): Horizontally flips the image from left to right.
4. Image Enhancement:
Perform basic image enhancement techniques:
Adjust the brightness and contrast of the image using imadjust() function.
Conclusions:
Finally, with MATLAB, we have high-quality image processing capabilities to load, modify,
and improve images through basic functions. With the ease of simple operations, we are able
to enhance image quality and acquire great insight.