0% found this document useful (0 votes)
23 views

A Tutorial of MATLAB For Digital Image Processing

This document provides an agenda for a tutorial on MATLAB for digital image processing. It begins with an overview of basic matrix manipulation in MATLAB, covering topics like creating and indexing matrices, matrix concatenation, and functions for finding maximum/minimum values. Next, it outlines basic image processing functions in MATLAB for image input/output, format conversion, and an example workflow involving loading an image, converting to grayscale, adding noise, filtering, and saving the results. The tutorial aims to introduce fundamental MATLAB skills and functions relevant for digital image processing applications.

Uploaded by

Huy Heineken
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

A Tutorial of MATLAB For Digital Image Processing

This document provides an agenda for a tutorial on MATLAB for digital image processing. It begins with an overview of basic matrix manipulation in MATLAB, covering topics like creating and indexing matrices, matrix concatenation, and functions for finding maximum/minimum values. Next, it outlines basic image processing functions in MATLAB for image input/output, format conversion, and an example workflow involving loading an image, converting to grayscale, adding noise, filtering, and saving the results. The tutorial aims to introduce fundamental MATLAB skills and functions relevant for digital image processing applications.

Uploaded by

Huy Heineken
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

ATutorialofMATLABfor

DigitalImageProcessing

Agenda
Basicmatrixmanipulation
Basicimageprocessingfunctions
Anexample

BasicMatrixManipulation

MATLAB standsforMATrix
LABoratory
Path
Createanewmatrix:

A=[123;456;789]
B=[1:5;2:6]
C=10:3.5:15
zeros(),ones(),rand(),randn()

B=[12;34]
C=[BB+B;B+4;B/3]

A(2,3)
R1=A(1,:)
C2=A(:,2)
S1=A(1:2:end,2:2:end)
L=A(:)
A(5)

Deletingrowsandcolumns

Indexingamatrix:

Matrixconcatenation

Max()andmin()

C(:,2)=[]
C(3,:)=[]
C(1:2:end,2:2:end)=[]
C(1:3:end,:)=[]
Max(C)
Max(max(C))
[V,R]=max(C)
[V,R]=max(C(:))

Size(),length(),numel(),ndims(),
class(),whos
Fliplr()flipud()

BasicImageProcessingFunctions

ImageI/O

Imread()
imwrite()
imshow()
imagesc()

ImageFormatConversion
rgb2gray()
im2double()
im2uint8()

Anexample

Loadacolorimage
Converttograyscaleimage
AddGaussiannoise
Lowpassfiltering
Saveresultimage

You might also like