Upload
vuonganh
View
218
Download
1
Embed Size (px)
Citation preview
1
Introduction to MATLAB
Image Processing CourseLi LiuUmeå University 2011
2
Command window
3
Using m-files (matlab files)
4
Using m-files (matlab files)
5
Help - general
6
Help on images
7
An example
From this image
8
…we want to generate something like this with size 256 x256 pixels
9
Step 1 – grey image 256 x256
10
Step 2 – add the red line
11
Step 3 – fetch an image
12
13
Step 4 – binarize the image
14
Step 4 – binarize the image
15
Step 5 –change height to 256 pixels
16
Step 6 –crop to 256 x 256 pixels
17
Step 7A –lower part
18
Step 7B –upper part
19
Step 7C –red line