Matlab tutorial course

Slides:



Advertisements
Similar presentations
Image Segmentation Longin Jan Latecki CIS 601. Image Segmentation Segmentation divides an image into its constituent regions or objects. Segmentation.
Advertisements

Introduction to MATLAB The language of Technical Computing.
Matlab Tutorial. Session 1 Basics, Filters, Color Space, Derivatives, Pyramids, Optical Flow Gonzalo Vaca-Castano.
Image Processing with MATLAB
Introduction to Engineering MATLAB – 11 Plotting - 4 Agenda Multiple curves Multiple plot.
Introduction to MATLAB for Biomedical Engineering BME 1008 Introduction to Biomedical Engineering FIU, Spring 2015 Lesson 2: Element-wise vs. matrix operations.
CS231A Matlab Tutorial Philip Lee Winter Overview  Goals › Introduction to Matlab › Matlab Snippets › Basic image manipulations › Helpful Matlab.
Matlab tutorial course Exercises 4:. Exercises – for loops Download the scripts loops_example.m and if_else_example.m, run the code Download the function,
EGR106 Week 6 MATLAB FILES Two Dimensional Plots Multiple Plots
Lecture 6 Sept 15, 09 Goals: two-dimensional arrays matrix operations circuit analysis using Matlab image processing – simple examples.
Image processing Lecture 4.
1 Introduction to MATLAB MATLAB is all of the following: 1.Computational environment 2.Plotting software 3.Programming language Typical applications: 1.Calculations.
MATLAB and SimulinkLecture 11 To days Outline  Introduction  MATLAB Desktop  Basic Features  Branching Statements  Loops  Script file / Commando.
Matlab tutorial course Lesson 2: Arrays and data types
Matlab tutorial course Exercises 1:. Exercises Go back to my webpage, download the file ‘startup.m’ and save it in your MATLAB home folder – Must be directly.
Matlab tutorial course Exercises 2:. Exercises Copy the script ‘face_points.m’ from my webpage into your ‘scripts’ folder Create a new folder in your.
SHINTA P. Juli What are edges in an image? Edge Detection Edge Detection Methods Edge Operators Matlab Program.
Introduction MATLAB stands for MATrix LABoratory.  Basics  Matrix Manipulations  MATLAB Programming  Graphics  Image types  Image Processing  Useful.
Digital Image Processing Lecture4: Fundamentals. Digital Image Representation An image can be defined as a two- dimensional function, f(x,y), where x.
1 Euler Number Computation By Kishore Kulkarni (Under the Guidance of Dr. Longin Jan Latecki)
Introduction to Scientific Programming in MATLAB Michael McLennan Software Architect HUBzero™ Platform for Scientific Collaboration.
EGR 106 Lecture 6 2-D Plotting Graphical presentation has become the standard method to show technical information. Engineers use plots to analyze, visualize,
COMPUTER GRAPHICS. Can refer to the number of pixels in a bitmapped image Can refer to the number of pixels in a bitmapped image The amount of space it.
Matlab tutorial course Exercises 5: Loading and writing images
L23. Working with Image Files imread, imwrite, imshow, uint8, rgb2gray.
Digital Image Processing Introduction to MATLAB. Background on MATLAB (Definition) MATLAB is a high-performance language for technical computing. The.
1 Lecture 5 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
MA/CS375 Fall MA/CS 375 Fall 2002 Lecture 5.
EEE 242 Computer Tools for Electrical Engineering
Concept 1: Computing Weighted Sum. Is an operation between two tables of numbers, usually between an image and weights. Typically, if one table is smaller,
Physics 114: Lecture 1 Overview of Class Intro to MATLAB
John Federici NJIT Physics Department
David Meredith Aalborg University
Creating a Plot The plot function can take one or more inputs; e.g. plot (x, y) or plot (y) Note that in the two-argument version, the vectors x and.
Linear Algebra Review.
BAHASA PEMROGRAMAN MATLAB as an Engineering Tool & Programming Language a lecture note for Civil Engineering students of PETRA Christian University Doddy.
Computer Application in Engineering Design
Modelling and Simulating Social Systems with MATLAB
Binary numbers: Week 7 Lesson 1
Illustrator lecture 2: how to use Adobe Illustrator with vector plots?
Introduction to MATLAB
Two-Dimensional Plots
Freshman Engineering Clinic II
How to Start This PowerPoint® Tutorial
IDLE Hints To re-load a module after making changes:
Matlab Tutorial Course
What do these words mean to you?
Data Representation Revision
MATH 493 Introduction to MATLAB
Matlab tutorial course
Ke Chen Reading: [7.3, EA], [9.1, CMB]
Code is on the Website Outline Comparison of Excel and R
Matlab tutorial course
Matlab tutorial course
Reading your mind How to play: 1:Circle a number on a row
Tutorial 1 (additional materials)
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
CSE 307 Basics of Image Processing
Lesson 2 - Text Processing Example
Introduction to MATLAB
‘If’ statements, relational operators, and logical operators
Prediction of persistent post-surgery pain by preoperative cold pain sensitivity: biomarker development with machine-learning-derived analysis  J. Lötsch,
MATLAB stands for MATrix LABoratory.
2 Activity 1: 5 columns Write the multiples of 2 into the table below. What patterns do you notice? Colour the odd numbers yellow and the even numbers.
The Image The pixels in the image The mask The resulting image 255 X
Activity 1: 5 columns Write the multiples of 3 into the table below. What patterns do you notice? Colour the odd numbers yellow and the even numbers blue.
Activity 1: 5 columns Write the multiples of 9 into the table below. What patterns do you notice? Colour the odd numbers yellow and the even numbers blue.
Week 7: Computer Tools for Problem Solving and Critical Thinking
Matlab tutorial course
ME 123 Computer Applications I Lecture 5: Input and Output 3/17/03
Presentation transcript:

Matlab tutorial course michael.berks@manchester.ac.uk Exercises 3:

Exercises Download the image ‘sample_nailfold.png’ from my website Create a script ‘find_vessels’ to do the following Load the image using imread (note this wasn’t included in the common functions because we are dedicating a whole lesson to reading/writing images and data next week) Use the functions ‘figure’ and ‘imshow’ to display the image Compute the average (i.e. mean) value of the grey-level of each pixel Produce (and display) a black and white mask of all the pixels that have a grey-level less than the mean Compute the number of pixels in each column with a grey-level below the mean (hint: use the mask you have created and the function ‘sum’) Plot the vector you have just computed What do the peaks in this plot correspond to? Repeat the previous 3 steps, but using rows, not columns (hint: you need to include an optional argument in ‘sum’) Convert the script to a function, that returns as outputs the column and row counts you have computed

Exercises Go back to the function you created in last week’s exercises for manipulating the points on a face Now try playing with the optional values in the plot functions (try typing ‘help plot’ at the command line) Can you change the colour of the lines? The type and colour of the markers (e.g. x, o) Can you change the thickness of the lines? Whether the lines are solid or dashed?