0% found this document useful (0 votes)
0 views11 pages

DIP Lab1

The document outlines a lab report for an introductory session on MATLAB and basic image operations conducted by students from the Department of Electrical and Computer Engineering. It details objectives, required equipment, and various tasks including loading, displaying, and manipulating images using MATLAB functions. The report concludes with an emphasis on the capabilities of MATLAB for effective image processing and enhancement.

Uploaded by

Bismah Asif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views11 pages

DIP Lab1

The document outlines a lab report for an introductory session on MATLAB and basic image operations conducted by students from the Department of Electrical and Computer Engineering. It details objectives, required equipment, and various tasks including loading, displaying, and manipulating images using MATLAB functions. The report concludes with an emphasis on the capabilities of MATLAB for effective image processing and enhancement.

Uploaded by

Bismah Asif
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

DEPARTMENT OF ELECTRICAL AND

COMPUTER ENGINEERING BATCH 2022-26

NAME: BISMAH ASIF, AREEBA SANA, URAIDAH ANJUM

REGISTRATION-ID: 222650,220610,220568

SUBMITTED TO: Ma’am Zoafshan

COURSE: DIP

DATE: 19-Feb-2025
AIR UNIVERSITY
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING

EXPERIMENT NO 1

Lab Title : Introduction to MATLAB and Basic Image Operations


Student Name: BISMAH, AREEBA, URAIDAH Reg. No 220568

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:

Excellent Good Average Satisfactory Unsatisfactory


Attributes
(5) (4) (3) (2) (1)
Ability to Conduct
Experiment
Ability to assimilate the
Results
Effective use of lab
equipment and follows the
lab safety rules

Total Marks: Obtained :

LAB REPORT ASSESSMENT:

Excellent Good Average Satisfactory (2) Unsatisfactory


Attributes
(5) (4) (3) (1)

Data presentation

Experimental results

Conclusion

Total Marks: Obtained Marks:

Date: 19-02-2025 Signature: uraidah


Digital Image Processing
Introduction to MATLAB and Basic Image Operations

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.

Digital Image Processing


2. Loading and Displaying Images:
Use MATLAB's imread() function to load an image into MATLAB workspace.
Display the loaded image using imshow() function.

Explanation:
imread(): Imports an image into the MATLAB workspace.
imshow(): Shows the imported image in a figure window.

3. Basic Image Operations:


Experiment with basic image operations:
Convert the image to grayscale using rgb2gray() function.

Digital Image Processing


Explanation:
rgb2gray(): Transforms a color image into grayscale by averaging RGB values.
It makes the image simple, with only grays of varying brightness.

Digital Image Processing


Basic Image Operations:
Experiment with basic image operations:
Resize the image using imresize() function.
Rotate the image using imrotate() function.

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

Digital Image Processing


Basic Image Operations:
Experiment with basic image operations:
Flip the image horizontally or vertically using flipud() or fliplr() function.

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.

Digital Image Processing


Explanation:
imadjust(): Changes the brightness and contrast of the image by compressing m
or expanding intensity values.
It assists in sharpening details by brightening the light areas and darkening the.
dark areas

Digital Image Processing


4. Image Enhancement:
Perform basic image enhancement techniques:
Apply histogram equalization using histeq() function.

Digital Image Processing


Explanation:
histeq(): Improves the image by correcting its histogram for improved contrast.
It redistributes pixel intensity values, making the image clearer.

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.

Digital Image Processing


Digital Image Processing

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy