Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 20

CMPE 485

Fundamentals of Digital Image


Processing (Spring 2023)
Dr. Muhammad Arsalan

1
About Instructor
• Dr. Muhammad Arsalan
• Contact:
• muhammad.arsalan@qu.edu.qa
• College of Engineering (Male designated area) H07, Room B211, Office
Number 1
• Mode of contact:
• Send me the email regarding your issues/questions/comments
• Minor queries can be discussed after class

2
Textbook and References
• Fundamentals of Digital Image Processing: A Practical Approach with Examples in Matlab, Chris
Solmon, ,9780470844731 (BKS000006274)
• https://www.fundipbook.com/
• https://pce-fet.com/common/library/books/17/5186_FundamentalsofDigitalImageProcessing-APracticalApproachwithExamplesinMatlab.pdf.
• https://github.com/tobybreckon/solomon-breckon-book (important)
• Digital Image Processing using MATLAB by R. Gonzales, R. Woods, and S. Eddins (Prentice Hall
Publishing Co.)
• M.Sonka, V. Hlavac, R. Boyle, ”Image Processing, Analysis, and Machine Vision”.
• A. K. Jain, ”Fundamentals of digital Image Processing”, Prentice-Hall.
• Instructor handouts
• Articles as determined by the instructor
• Introduction to Matlab - Image Processing By Dhananjay K. Theckedath
• Digital Image Processing http://web.stanford.edu/class/ee368/handouts.html
3
Course Assessment
• Homework: 20%
• Project: 20% (Individual/group TBD)
• Quiz: 5% (Unannounced)
• Midterm Exam: 20% ( Approx. March 21, 2024)
• Final Exam: 35%

4
Course Contents
Topics
Introduction to Image Processing
Introduction to MATLAB
Image Acquisition and Conversion
Algebraic / Geometric Operations
Image Statistics
Image Transforms
Binary Image Processing
ROI Processing
Image Deconvolution
Image Compression
Advanced Topics

5
Class
• Face to face classes
• The lectures will be uploaded to Blackboard before the class
• Please check Blackboard before coming to the class

6
Key to the course
• Do your weekly programming assignment and reading
• Understand and enhance the examples provided in this course as
well as the ones in the textbook
• Attend and participate in the class discussions
• Many of the exam questions will be from the class discussions and
exercises
• Do the project tasks yourself
• Discuss the problems

7
Important Notes
• Maintain your attendance as per QU guidelines
• If you are not attending exams, take informed consent from QU
• Try to read the chapters and lectures before coming to the class
• Please keep your phones silent/off

8
Cheating/ Plagiarism
• Representing other’s work as yours
• Copying
• Actions according to University policy

9
What is an Image
• An image in image processing is a visual representation composed of
pixels.
• An image is an array, or a matrix, of square pixels (picture elements)
arranged in columns and rows.

10
An image — an array or a matrix of pixels arranged in columns and rows.
Representation of an image
• An Image is represented by rows and columns (row x col)/ (M x N)

11
An Image
• An image can be of these types
• Grayscale image
• (row x col)/ (M x N)
• Range 0~256
• Binary Image
• (row x col)/ (M x N)
• Range 0~1

12
An Image
• Color image
• (row x col x 3)/ (M x N x 3)
• Range 0~256

13
An Image
• Indexed Image:
• An indexed image
consists of an image
matrix and a
colormap (Two
matrices).
• (row x col x 3)/ (M x
N x 3)
• Range 0~256

14
Grayscale vs Binary vs Color

15
Why MATLAB for Image Processing
• MATLAB (Matrix Laboratory) is a popular programming language and
environment that is widely used for image processing
• MATLAB provides a user-friendly environment with a simple and syntax
• MATLAB offers specialized toolboxes, such as the Image Processing Toolbox
• MATLAB is designed for matrix-based operations, which align well with the
image data represented as matrices
• MATLAB provides powerful visualization tools that facilitate the display and
analysis of images
• MATLAB has a large and active user community, making it easier to find
support, tutorials, and resources online
16
Reading an image MATLAB
a = imread('football.jpg’);
figure, imshow(a)

a = imread(‘pout.tif’);
figure, imshow(a)

17
Image Size
a = imread('football.jpg');
figure, imshow (a)
Im_size=size(a);

18
Different Planes of the image
• RGB planes of the image
• Red:
• a(:,:,[2 3]) = 0;
• imshow(a);
• Green:
• a(:,:,[1 3]) = 0;
• imshow(a);
• Blue:
• a(:,:,[1 2]) = 0;
• imshow(a);
19
Notes
• Download Matlab with Image processing toolbox and other toolbox
from the University
• Please visit the book website
• https://www.fundipbook.com/
• Open examples from the book
• https://github.com/tobybreckon/solomon-breckon-book
• Your homework for Week 1 is to bring your laptop by in the next class
with MATLAB.
• Exercise will be provided in Lecture1_3.
20

You might also like