using_matlab_and_simulink_for_image_and_video_processing
using_matlab_and_simulink_for_image_and_video_processing
Agenda
2
® ®
3
® ®
Common Challenges
4
® ®
Visualization
Algorithm
development
Image acquisition
Idea sharing &
reporting
Application
Data access deployment
5
® ®
6
® ®
Data access
Visualization
Data analysis
Algorithm development
Sharing results
7
® ®
Signal Processing
Toolbox Mapping Toolbox
Statistics Toolbox
Image Processing
Database Toolbox Toolbox
Image Acquisition
Toolbox MATLAB Compiler
13
® ®
Image visualization
Image pre- and postprocessing
Image analysis
Spatial transformations
Image registration
Color image processing
14
® ®
Image Visualization
Graphical tools
Overview
Pixel region detail
Image information
Contrast adjustment
Pan and zoom
Open and modular
Easy to customize
Easy to extend
15
® ®
Enhancement
Noise removal
Deblurring
Region-based processing
Transforms (FFT, DCT,…)
16
® ®
Image Analysis
Edge detection
Segmentation
Morphological operators
Image statistics
Boundary tracing
Region properties
Texture analysis
Hough transform
17
® ®
18
® ®
19
® ®
Directory browser
Workspace browser
Import wizard
imtool
imcrop
Cell mode execution
Thresholding
Morphological operators
Region properties
Hough transform
20
® ®
21
® ®
22
® ®
Demonstration next
23
® ®
Demonstration next
24
® ®
MATLAB Compiler
.DLL
.EXE COM .NET Java
.LIB www Excel
Add-in
25
® ®
MATLAB End-
End-User
Desktop Machine
27
® ®
28
® ®
Complete environment
29
® ®
The Challenge
To find an alternative to the endoscope
and other invasive gastrointestinal
imaging procedures
The Solution
Use MATLAB and MATLAB toolboxes to
implement and develop an alternative The M2A capsule, shown next to a US quarter
diagnostic tool
30
® ®
Rafael C. Gonzalez
Professor Emeritus
University of Tennessee
31
® ®
Agenda
32
® ®
Agenda
33
® ®
Data
Data
Data
Data Environment Rapid
Rapid Verification,
Verification,
Analysis
Analysis&&
Access
Access effects Prototyping
Prototyping HIL
HILTest
Test
Visualization
Visualization
Embedded
Algorithm
Algorithm algorithms Code
Design
Design Code
Generation
Generation
System Embedded
Mathematical Embedded
Mathematical components Hardware
Modeling Hardware
Modeling
System
SystemModeling,
Modeling, Embedded
Embedded
Simulation
Simulationand
and Software
Software
Partitioning
Partitioning
34
® ®
Security Office
cameras equipment Electronics
35
® ®
36
® ®
37
® ®
Model-Based Design
Model elaboration
39
® ®
What is Simulink?
40
® ®
41
® ®
45
® ®
47
® ®
49
® ®
50
® ®
51
® ®
52
® ®
Agenda
53
® ®
54
® ®
Fixed-Point Modeling*
55
® ®
• Real-Time Workshop
• Real-Time Workshop
Embedded Coder
C-compiler
IDE
C-code (Integrated
Design
Environment)
Specific Board
Compiler, Linker,
and Loader
Specific Peripheral
S/W Drivers
57
® ®
58
® ®
59
® ®
66
® ®
67
® ®
50%
more expensive to fix.”
Clive Maxfield and Kuhoo Goyal
40%
“EDA: Where Electronics Begins”
30% TechBites Interactive, October 1, 2001
22% ISBN: 0971406308
21% 15%
20% 8%
10% 12%
0% 7% Detected
Spec Introduced
Design
Implement
Test
Source: “Migration from Simulation to
Verification with ModelSim” by Paul Yanik.
EDA Tech Forum, 2004 Mar 11, Newton MA
68
® ®
The Solution
Example of the Prototype
Used Simulink, Blocksets, Real-Time
Workshop, and Target for TI C6000 to build “We are working on real-time image
and validate a rapid prototype on a DM642 processing with the TI DM642
processor as the target. The Video
The Results and Image Processing Blockset
makes the task of creating our design
Completed phase II of research project and working prototypes much
ahead of schedule simpler.”
Currently in trials with patients though
Dr. James Weiland
Doheny Eye Institute at the University Director, Intraocular
of Southern California Retinal Prosthesis Lab
69
® ®
Base (required):
MATLAB, Signal Processing Toolbox, Image Processing Toolbox
Simulink, Signal Processing Blockset, Video and Image Processing
Blockset
Implementation:
Real-Time Workshop
Real-Time Workshop Embedded Coder
Link for Code Composer Studio
Target for TI C6000™
Link for ModelSim
Partner products (Altera, Xilinx, Synplify, TI, Mentor Graphics, etc)
71
® ®
Agenda
72
® ®
Headquarters:
Natick, Massachusetts USA
USA:
California, Michigan,
Washington DC, Texas
Europe:
UK, France, Germany,
Switzerland, Italy,
Spain, the Netherlands, Sweden
Asia-Pacific:
Korea, Australia
Worldwide training
and consulting Earth’s topography on an equidistant
cylindrical projection, created with the
Distributors in 25 countries MATLAB Mapping Toolbox
73
® ®
Key Industries
77
® ®
78
® ®
79
® ®
80
® ®
MATLAB Central
www.mathworks.com/matlabcentral 83
® ®
More than 300 add-on products and services from partners that
complement and extend MathWorks products
www.mathworks.com/connections 84
® ®
www.mathworks.com/books 85
® ®
Technical Support
Resources
Over 100 support engineers
All with MS degrees (EE, ME, CS)
Local support in North America, Europe,
and Asia
Comprehensive product-specific web
support resources
www.mathworks.com/support 86
® ®
Visit www.mathworks.com
Product literature
User Stories
Visit MATLAB Central
www.mathworks.com/matlabcentral
Click on “File Exchange”
Upcoming seminars in your area
Upcoming webinars
Feel free to ask questions afterwards
87