image processing with matlab - inaf (indico) · 2019-05-23 · image processing with matlab @inaf...

62
1 © 2019 The MathWorks, Inc. Image processing with MATLAB @INAF Giuseppe Ridinò - [email protected] Senior Application Engineer 22 Maggio 2019

Upload: others

Post on 05-Apr-2020

18 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

1© 2019 The MathWorks, Inc.

Image processing with MATLAB@INAF

Giuseppe Ridinò - [email protected]

Senior Application Engineer

22 Maggio 2019

Page 2: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

2

• Introduction

• Quick intro to MATLAB

• Image Processing with MATLAB

• Managing large image sets

• What’s New

• Wrap-up

Agenda

Page 3: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

3

Applications: Image and Video Processing

▪ Medical imaging

▪ Surveillance

▪ Robotics

▪ Automotive safety

▪ Consumer electronics

▪ Geospatial computing

▪ Machine vision

▪ Science research

▪ and more…

Page 4: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

4

Challenges with Imaging and Vision Systems

▪ Reading and writing to various file formats

▪ Create and test algorithms with what-if scenarios

▪ Identifying causes of algorithm failure

▪ Visualizing images and intermediate results

▪ Processing large images with limited memory

▪ Executing algorithms faster

Page 5: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

5

MATLAB & Simulink in Research

Page 6: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

6

TNG Data Project and Jupyterlab Interface

Project: http://www.tng-project.org/

Jupyterlab: tng-project.org/data/lab/

Scripts: http://www.tng-

project.org/data/docs/scripts/

Page 7: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

7

MATLAB Community Tools for Astronomyhttps://www.mathworks.com/matlabcentral/fileexchange?sort=downloads_desc&q=astronomy

Page 9: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

9

NASA Build Kepler Pipeline tools with MATLABdownload: github.com/nasa/kepler-pipeline

Page 10: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

10

• Introduction

• Quick intro to MATLAB

• Image Processing with MATLAB

• Managing large image sets

• What’s New

• Wrap-up

Agenda

Page 11: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

11

What is MATLAB?

▪ High-level language

▪ Interactive development environment

▪ Used for:

– Numerical computation

– Data analysis and visualization

– Algorithm development and programming

– Application development and deployment

Page 12: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

12

Share

Deployment

Reporting and

Documentation

Outputs for design

Workflow: Image and Video Processing

Explore and Discover

Data Analysis

& Modeling

Algorithm

Development

Application

Development

Access

Software

Code & Applications

Files

Hardware

Automate

Page 13: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

13

Accessing Data from MATLAB

▪ Files

– Excel, text, or binary

– Audio and video, image

– Scientific formats and XML

▪ Applications and languages

– C/C++, Java, FORTRAN, Python

– COM, .NET, shared libraries

– Databases (Database Toolbox)

▪ Measurement hardware

– Data acquisition hardware (Data Acquisition Toolbox)

– Stand-alone instruments and devices(Instrument Control Toolbox)

Explore & Discover ShareAccess

Page 14: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

14

What do data look like?

Explore & Discover ShareAccess

Page 15: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

15

Example: FITS files

Page 16: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

16

MATLAB connects to your hardware

Data Acquisition ToolboxPlug in data acquisition boards and modules

Image Acquisition Toolbox™Image capture devices

Instrument Control ToolboxInstruments and RS-232 devices

Vehicle Network ToolboxCAN bus interface devices

MATLABInterfaces for communicating with everything

Page 17: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

17

Data Analysis and Visualization in MATLAB

▪ Built-in engineering and

mathematical functions

– Interpolation, filtering,

smoothing, Fourier analysis

▪ Extensive plotting capabilities

– 2-D, 3-D, and volume visualization

– Tools for creating custom plots

Explore & Discover ShareAccess

Page 18: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

18

Expanding the Capabilities of MATLAB

▪ MathWorks add-on tools for:

– Math, statistics, and optimization

– Control system design and analysis

– Signal processing and communications

– Image processing and computer vision

– Parallel computing and more…

▪ Partner products provide:

– Additional interfaces

– Domain-specific analysis

– Support for niche applications

Explore & Discover ShareAccess

Page 19: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

19

Sharing Results from MATLAB

▪ Automatically generate reports

– Publish MATLAB files

– Customize reports(MATLAB Report Generator)

▪ Live scripts export

▪ Deploy applications to

other environments

Explore & Discover ShareAccess

Page 20: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

20

Share MATLAB Code as Toolboxes or Apps

▪ Check-in / check-out

▪ Revision control

Source control(Git, Subversion)

MATLAB Authors

GitHub

Collaborate

MATLAB End Users

▪ MATLAB files▪ Data▪ Documentation

.mltbx

Peer

Explore & Discover ShareAccess

Page 21: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

21

Application Author

End User

1

2

Sharing Standalone Applications

MATLAB

ExcelAdd-in Hadoop

StandaloneApplication

Toolboxes

MATLAB Compiler

MATLAB

Runtime3

Explore & Discover ShareAccess

Page 22: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

22

• Introduction

• Quick intro to MATLAB

• Image Processing with MATLAB

• Managing large image sets

• What’s New

• Wrap-up

Agenda

Page 23: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

23

Image Processing Toolbox

Perform image processing, analysis, visualization, and algorithm development

▪ Image display and exploration

▪ Image enhancement

▪ Image analysis

▪ Morphological operations

▪ Image registration

▪ Geometric transformation

▪ ROI-based processing

Page 24: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

24

What is image enhancement? Pre- and Post-Processing

Image enhancement is the process of adjusting digital images so

that the results are more suitable for display or further processing.

▪ Noise removal

▪ Deblurring

▪ Filtering

Page 25: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

25

Demo: Image Enhancement

▪ Import and visualize map of Paris

▪ Correct for poor contrast and unbalanced colors

>> Histogram_Stretch

Page 26: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

26

Demo: Image EnhancementSummary

▪ Visualize images

▪ Visualize histogram and scatter plot

▪ Perform contrast and decorrelation stretch

Page 27: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

27

What is image segmentation?Image processing for detection

▪ Image segmentation is the process of dividing an image into

multiple parts.

This is typically used to identify objects and other relevant

information within an image.

Page 28: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

28

▪ Objects detection

Demo: Image Segmentation

There are 4 objects in the image!

>> cardetection

Page 29: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

29

Demo: Image SegmentationSummary

1. Detection concept: Image difference

2. Preprocessing: Enhancements

3. Segmentation: Threshold, Fill in, Morph. Opening

4. Region Properties

There are 4 objects in the image!

Page 30: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

30

What is image registration?Image alignment

▪ Process of aligning images from different data sets for visual or

computational analysis.

– Enables quantitative comparison

– Removes changes due to camera motion

Page 31: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

31

Automatic Image Registration

▪ Two registration types supported:

– Intensity-based (Image Processing Toolbox)

– Feature-based (Computer Vision Toolbox)

Intensity-based Feature-based

Page 32: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

32

Demo: Image Registration

Webcam image Thermal IR image

▪ Goal: Register the image pair to detect the eyes and measure

body temperature

>> ThermalScreening

Page 33: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

33

Demo: Image RegistrationSummary

▪ Acquire images into MATLAB

▪ Visualize images

▪ Automatic image registration

▪ Feature detection (where are eyes?)

▪ Text annotation on the image

Final Registration with Temperature

Page 34: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

34

Use Apps to Quickly Explore Ideas or Find Solutions

1. Image Batch Processor App

2. Image Segmenter App

3. Region Analyzer App

4. Color Thresholder App

From the Community:

▪ Image Morphology App

▪ Image Registration App

File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/

Page 35: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

35

• Introduction

• Quick intro to MATLAB

• Image Processing with MATLAB

• Managing large image sets

• What’s New

• Wrap-up

Agenda

Page 36: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

36

Images & Video Applications Have Massive Data Challenges

▪ 20+ Mega Pixel cameras

▪ 4K or 8K video

▪ Thousands to millions of images or videos to process

Page 37: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

37

Working with Large Images Sets

▪ Processing large data sets with datastore and imageSet

– Navigate data too large for memory.

– Process multiple files as a single entity.

– Works with mapreduce

▪ Image Batch Processor App

– Apply algorithms to sets of images

– Interactive interface

– Support for parallel processing

Page 38: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

38

Parallel computing

Core 1

Core 3 Core 4

Core 2

Cache

Using More Cores (CPUs)

Page 39: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

39

Parallel computing support for image processing applications

▪ Option in Batch Image Processor to improve performance with parallel

processing.

▪ Option in blockproc function to improve performance of block processing

tasks.

Page 40: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

40

bwmorph

bwlookup

corr2

edge

histeq

imadjust

imbothat

imclose

imdilate

imerode

imfill

imfilter

imgradient

imhist

imnoise

imopen

imresize

imreconstruct

imrotate

imshow

imtophat

imwarp

mean2

medfilt2

padarray

rgb2gray

MATLAB supports GPU Acceleration with NVIDIA

▪ Over 300 MATLAB functions supporting NVIDIA GPUs

▪ 50 of the most popular Image Processing functions

▪ Support for functions in bag-of-words workflow

▪ Constantly adding more GPU functionality

http://www.mathworks.com/discovery/matlab-gpu.htmll

bagOfFeatures

bagOfFeatures.encode

trainImageCategoryClassifier

imageCategoryClassifier

imageCategoryClassifier.predict

Page 41: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

41

GPU Example - Required Code Changes

Page 42: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

42

▪ Offload computation:

– Free up desktop

– Access better computers

▪ Scale speed-up:

– Use more cores

– Go from hours to minutes

▪ Scale memory:

– Utilize distributed arrays

– Solve larger problems without re-coding algorithms

Parallel Computing Toolbox

Scale to Clusters and Clouds

MATLAB

MATLAB Distributed Computing Server

Page 43: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

43

Advising on Deployment or Code Generation

MATLAB

Runtime

MATLAB

Compiler SDK

MATLAB

Compiler

MATLAB

MATLAB Coder

products

Integratealgorithms with custom software

Acceleratealgorithm execution

Implementalgorithms on embedded processors

Prototypealgorithms on PC’s

Page 44: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

44

Code Generation for Image Processing Functions

• regionprops

• watershed

• bweuler

• bwlabel

• bwperim

• multithresh

• padarray

• bwmorph

• bwlookup

• Conndef

• fspecial

• bwtraceboundary

• imadjust

• imclearborder

• medfilt2

• imfill

• imhmax

• imhmin

• imreconstruct

• imregionalmax

• iptcheckconn

• …

Page 45: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

45

• Introduction

• Quick intro to MATLAB

• Image Processing with MATLAB

• Managing large image sets

• What’s New

• Wrap-up

Agenda

Page 46: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

46

Sustainable Research Software Engineering with MATLAB

▪ MATLAB Live ScriptCreate computational code stories with Live Editor for papers and teaching

▪ Source Control

Use git and SVN from MATLAB

▪ MATLAB Projects (R2019a)

Organize, manage, and share your work

▪ Test Frameworks

Unit Test, Performance Test, App Test, and Mocking Framework tests

▪ Object Oriented Programming

Validate object properties by their type, size, shape, or other attributes (R2017a)

▪ Continuous Integration

Use MATLAB with Jenkins

Page 47: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

47

MATLAB Projects: Organize, manage, and share your code

▪ Configure your environment

▪ Analyze dependencies

▪ Track and control changes

▪ Package and share projects

Page 48: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

48

App DesignerCreate professional Apps for no professional software developer

• Enhanced design environment

• New UI components:

gauges, dials, tabbed

interfaces, and more…

• Improved object-based code

and coding tools

• Deploy apps to the web

Page 49: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

49

Working with Other LanguagesInteroperate with Python, C, and more from MATLAB

Call Other-Language Libraries from MATLAB

Call MATLAB from Another Language

• Java

• Python

• C/C++

• Fortran

• COM components and ActiveX® controls

• RESTful, HTTP, and WSDL web services

• Java

• Python

• C/C++

o Updated C++ API

• Fortran

• COM Automation server

Call C++ libraries directly from MATLAB

Page 50: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

50

MATLAB Programs Can be Shared With AnyoneStandalone desktop app & Web Deploy

Web app

URL

Page 51: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

51

Deep Learning ToolboxCreate, analyze, and train deep learning networks

Interoperability with other

deep learning frameworks

Deep Network Designer

app

Network training

performance

Improved inference

performance

Expanded deployment

support

Domain-specific workflow

support

• Ground truth labeling

apps for audio and video

• Application-specific

datastores

Page 52: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

52

Blog: Deep Learning

http://blogs.mathworks.com/deep-learning/

Page 53: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

53

• Introduction

• Quick intro to MATLAB

• Image Processing with MATLAB

• Managing large image sets

• What’s New

• Wrap-up

Agenda

Page 54: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

54

Why use MATLAB for Image Processing?Key takeaways

▪ Complete environment

▪ Verified and trusted algorithms

▪ Faster than hand-coding algorithms in C/C++

▪ Open and flexible architecture enables a customized workflow

Page 55: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

55

Download Image Processing Tips, Techniques, and Code

https://it.mathworks.com/campaigns/products/offer/image-processing-tips-and-techniques.html

Page 56: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

56

Blog: Steve on Image Processing

http://blogs.mathworks.com/steve/

Page 57: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

57

MATLAB Examples

http://it.mathworks.com/examples/product-group/matlab-image-processing-and-computer-vision

Page 58: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

58

Hardware Support in MATLAB

▪ Validate algorithms with live data

▪ Integrate with webcams and IP cameras

▪ Access images and video from network cameras

▪ Webcam and IP Camera support in base MATLAB

Page 59: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

59

Support for Industrial and Scientific Cameras

▪ Acquire images & video from industry-standard hardware:– Camera Link

– DCAM compatible FireWire (IIDC 1394)

– GigE Vision

– GenICam Interface

▪ Manufacturers include:– Allied Vision Technologies

– Basler

– Baumer

– FLIR

– Hamamatsu

– Point Grey

– Teledyne DALSA

▪ See Hardware Catalog for more details: www.mathworks.com/hardware

Page 60: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

60

Getting Started Resources

Web Resource Portal

▪ MATLAB and C/C++ Resources

– Videos

– Examples

– Documentation

http://it.mathworks.com/matlab-c-resources

Page 61: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

61

Getting Started Video Series

YouTube:

▪ Integrating MATLAB and C/C++

– Visualizing and Testing C/C++ Code

– Using C/C++ Code with MATLAB

– Fixed Point Conversion Overview

– …

https://www.youtube.com/playlist?list=PLn8PRpmsu08rKGu3KgYixmZQV-gYGfE7q

Page 62: Image processing with MATLAB - INAF (Indico) · 2019-05-23 · Image processing with MATLAB @INAF Giuseppe Ridinò - gridino@mathworks.com Senior Application Engineer 22 Maggio 2019

62

Thank you for your attention!

Questions?

Accelerating the pace of engineering and science