SlideShare a Scribd company logo
4th Computer Vision Workshop
February 2011
Introduction to Image Processing
What is a digital image?
What is digital image processing?
Usage examples of digital image processing
Key stages in digital image processing
Introduction to Image Processing
What is a digital image?
What is digital image processing?
Usage examples of digital image processing
Key stages in digital image processing
What is a Digital Image?
 A digital image is a representation of a two-
dimensional image as a finite set of digital values,
called picture elements or pixels
What is a Digital Image? (cont…)
 Pixel values typically represent gray levels, colours,
heights, opacities etc
 Remember digitization implies that a digital image is
an approximation of a real scene
1 pixel
What is a Digital Image? (cont…)
 Common image formats include:
 1 sample per point (B&W or Grayscale)
 3 samples per point (Red, Green, and Blue)
 4 samples per point (Red, Green, Blue, and “Alpha”,
a.k.a. Opacity)
Introduction to Image Processing
What is a digital image?
What is digital image processing?
Usage examples of digital image processing
Key stages in digital image processing
What is Digital Image Processing?
Digital image processing focuses on two major tasks
 Improvement of pictorial information for human
interpretation
 Processing of image data for storage, transmission and
representation for autonomous machine perception
Some argument about where image processing ends
and fields such as image analysis and computer vision
start
What is Digital Image Processing? (cont…)
The continuum from image processing to computer
vision can be broken up into low-, mid- and high-level
processes
Low Level Process
Input: Image
Output: Image
Examples: Noise
removal, image
sharpening
Mid Level Process
Input: Image
Output: Attributes
Examples: Object
recognition,
segmentation
High Level Process
Input: Attributes
Output: Understanding
Examples: Scene
understanding,
autonomous navigation
Introduction to Image Processing
What is a digital image?
What is digital image processing?
Usage examples of digital image processing
Key stages in digital image processing
Examples: Image Enhancement
 One of the most common uses of DIP techniques:
improve quality, remove noise etc
denoise
Examples: Image Enhancement
deblur
Examples: Image Enhancement
Examples: Medicine
Take slice from MRI scan of canine heart, and find
boundaries between types of tissue
 Image with gray levels representing tissue density
 Use a suitable filter to highlight edges
Original MRI Image of a Dog Heart Edge Detection Image
Examples: GIS
Geographic Information Systems
 Digital image processing techniques are used extensively
to manipulate satellite imagery
 Terrain classification
 …
Examples: Law Enforcement
Image processing
techniques are used
extensively by law
enforcers
 Number plate
recognition for speed
cameras/automated toll
systems
 Fingerprint recognition
 Enhancement of CCTV
images
Examples: HCI
Try to make human
computer interfaces more
natural
 Face recognition
 Gesture recognition
These tasks can be
extremely difficult
Examples: Object Segmentation
Introduction to Image Processing
What is a digital image?
What is digital image processing?
Usage examples of digital image processing
Key stages in digital image processing
Key Stages in Digital Image Processing
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Image Acquisition
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Image Enhancement
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Image Restoration
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Morphological Processing
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Segmentation
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Object Recognition
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Representation & Description
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Image Compression
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Key Stages in Digital Image Processing:
Colour Image Processing
Image
Acquisition
Image
Restoration
Morphological
Processing
Segmentation
Representation
& Description
Image
Enhancement
Object
Recognition
Problem Domain
Colour Image
Processing
Image
Compression
Thresholding
 Use a threshold to transforms an input image
into a binary image
 Compare each input pixel value f(i, j) against
the threshold, θ, and setting the output pixel
value g(i, j) appropriately
0 if ( , )
( , )
1 otherwise
f i j
g i j

 

Thresholding
Dr. Philip Tse Multimedia Coding and Processing 31
 Sample black and white
images
θ=141 θ=128 θ=115
Thresholding
 Different images can be
generated from using different
thresholds.
 Higher threshold allows only
fewer brighter pixels to become
white.
Thresholding
 Many applications in image processing
 Difficult to decide the value of threshold, θ.
 The threshold value may depend on the application
required.
Summary
 We have looked at:
 What is a digital image?
 What is digital image processing?
 Usage examples of digital image processing
 Key stages in digital image processing
 Next section we will talk about OpenCV
 Introduction
 Getting Started
 Architecture & Modules
 Sample Code
OpenCV
 Introduction
 Getting Started
 Architecture & Modules
 Sample Code
OpenCV
 Open Source Computer Vision Library
 Originally developed by Intel, currently maintained by
Willow Garage
 Written in C/C++
 Implements Image Processing and Computer Vision
algorithms
OpenCV - Introduction
 Cross-platform and extremely portable
 Free!
 Targeted for real-time applications
OpenCV - Introduction
 Introduction
 Getting Started
 Architecture & Modules
 Sample Code
OpenCV
http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.1/
 Introduction
 Getting Started
 Architecture & Modules
 Sample Code
OpenCV
 CvAux
 Defunc areas and experimental algorithms
 IPP
 High Performance low-level routines if IPP is present
OpenCV – Architecture & Modules
 HighGUI
 “Smart” windows
 Image I/O, rendering
 Processing keyboard and other events, timeouts
 Trackbars
 Mouse callbacks
 Video I/O
OpenCV – Architecture & Modules
 Introduction
 Getting Started
 Architecture & Modules
 Sample Code
OpenCV
 Example code: load an image from disk and display it
on the screen
#include “highgui.h”
int main( int argc, char **argv )
{
IplImage *img = cvLoadImage( argv[1] );
CvNamedWindow(“Example1”, CV_WINDOW_AUTOSIZE);
cvShowImage(“Example1”, img);
cvWaitKey(0);
cvReleaseImage( &img );
cvDestroyWindow(“Example1”);
}
OpenCV – Sample Code

More Related Content

What's hot

Digital image processing
Digital image processingDigital image processing
Digital image processing
juangp3
 
From Image Processing To Computer Vision
From Image Processing To Computer VisionFrom Image Processing To Computer Vision
From Image Processing To Computer Vision
Joud Khattab
 
Image processing1 introduction
Image processing1 introductionImage processing1 introduction
Image processing1 introduction
Preeti Gupta
 
Application of image processing
Application of image processingApplication of image processing
Application of image processing
University of Potsdam
 
Image Processing (General Topic)
Image Processing (General Topic)Image Processing (General Topic)
Image Processing (General Topic)mcc.jeppiaar
 
Image proccessing and its application
Image proccessing and its applicationImage proccessing and its application
Image proccessing and its application
Ashwini Awatare
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
Naatchammai Ramanathan
 
Cse image processing ppt
Cse image processing pptCse image processing ppt
Cse image processing ppt
Ashish Kumar Thakur
 
Introduction to Digital Image Processing
Introduction to Digital Image ProcessingIntroduction to Digital Image Processing
Introduction to Digital Image Processing
kalaimuthu2
 
Digital image processing
Digital image processingDigital image processing
Digital image processingmanpreetgrewal
 
Basic image processing
Basic image processingBasic image processing
Basic image processingJay Thakkar
 
Image Processing : Introduction
Image Processing : IntroductionImage Processing : Introduction
Image Processing : Introduction
Basra University, Iraq
 
Image Processing
Image ProcessingImage Processing
Image ProcessingRolando
 
Coin recognition using matlab
Coin recognition using matlabCoin recognition using matlab
Coin recognition using matlab
slmnsvn
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
Avni Bindal
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
Ankur Nanda
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
Reshma KC
 
Image Processing as a Part of Big Data Initiatives
Image Processing as a Part of Big Data InitiativesImage Processing as a Part of Big Data Initiatives
Image Processing as a Part of Big Data Initiatives
IDEAS - Int'l Data Engineering and Science Association
 

What's hot (18)

Digital image processing
Digital image processingDigital image processing
Digital image processing
 
From Image Processing To Computer Vision
From Image Processing To Computer VisionFrom Image Processing To Computer Vision
From Image Processing To Computer Vision
 
Image processing1 introduction
Image processing1 introductionImage processing1 introduction
Image processing1 introduction
 
Application of image processing
Application of image processingApplication of image processing
Application of image processing
 
Image Processing (General Topic)
Image Processing (General Topic)Image Processing (General Topic)
Image Processing (General Topic)
 
Image proccessing and its application
Image proccessing and its applicationImage proccessing and its application
Image proccessing and its application
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 
Cse image processing ppt
Cse image processing pptCse image processing ppt
Cse image processing ppt
 
Introduction to Digital Image Processing
Introduction to Digital Image ProcessingIntroduction to Digital Image Processing
Introduction to Digital Image Processing
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Basic image processing
Basic image processingBasic image processing
Basic image processing
 
Image Processing : Introduction
Image Processing : IntroductionImage Processing : Introduction
Image Processing : Introduction
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
Coin recognition using matlab
Coin recognition using matlabCoin recognition using matlab
Coin recognition using matlab
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Image Processing as a Part of Big Data Initiatives
Image Processing as a Part of Big Data InitiativesImage Processing as a Part of Big Data Initiatives
Image Processing as a Part of Big Data Initiatives
 

Similar to 1st section

DIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdg
DIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdgDIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdg
DIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdg
MrVMNair
 
DIP-Unit1-Session1.pdf
DIP-Unit1-Session1.pdfDIP-Unit1-Session1.pdf
DIP-Unit1-Session1.pdf
Ram Pavithra Guru
 
Digital image processing with photoshop
Digital image processing with photoshopDigital image processing with photoshop
Digital image processing with photoshop
Điềm Lê Thanh
 
DIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptx
DIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptxDIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptx
DIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptx
21bca82
 
Basics of digital image processing
Basics of digital image  processingBasics of digital image  processing
Basics of digital image processing
zahid6
 
BEC007 -Digital image processing.pdf
BEC007  -Digital image processing.pdfBEC007  -Digital image processing.pdf
BEC007 -Digital image processing.pdf
gopikahari7
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image ProcessingSamir Sabry
 
Dip review
Dip reviewDip review
Dip review
Harish Reddy
 
Lec_1_Introduction.pdf
Lec_1_Introduction.pdfLec_1_Introduction.pdf
Lec_1_Introduction.pdf
nagwaAboElenein
 
Lec_1_Introduction.pdf
Lec_1_Introduction.pdfLec_1_Introduction.pdf
Lec_1_Introduction.pdf
nagwaAboElenein
 
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVECIMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
Mathankumar S
 
application of digital image processing and methods
application of digital image processing and methodsapplication of digital image processing and methods
application of digital image processing and methods
SIRILsam
 
Digital_image_processing_-Vijaya_Raghavan.pdf
Digital_image_processing_-Vijaya_Raghavan.pdfDigital_image_processing_-Vijaya_Raghavan.pdf
Digital_image_processing_-Vijaya_Raghavan.pdf
VaideshSiva1
 
EC4160-lect 1,2.ppt
EC4160-lect 1,2.pptEC4160-lect 1,2.ppt
EC4160-lect 1,2.ppt
ssuser812128
 
YCIS_Forensic PArt 1 Digital Image Processing.pptx
YCIS_Forensic PArt 1 Digital Image Processing.pptxYCIS_Forensic PArt 1 Digital Image Processing.pptx
YCIS_Forensic PArt 1 Digital Image Processing.pptx
SharmilaMore5
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
Sahil Biswas
 
1. IP Introduction.pdf
1. IP Introduction.pdf1. IP Introduction.pdf
1. IP Introduction.pdf
DrNVaijayanthiDeanRD
 
imp.pptx
imp.pptximp.pptx
imp.pptx
ssuser433628
 
Computer vision
Computer visionComputer vision
Computer vision
snmeens
 
Image processing fundamentals
Image processing fundamentalsImage processing fundamentals
Image processing fundamentals
A B Shinde
 

Similar to 1st section (20)

DIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdg
DIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdgDIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdg
DIPsadasdasfsdfsdfdfasdfsdfsdgsdgdsfgdfgfdg
 
DIP-Unit1-Session1.pdf
DIP-Unit1-Session1.pdfDIP-Unit1-Session1.pdf
DIP-Unit1-Session1.pdf
 
Digital image processing with photoshop
Digital image processing with photoshopDigital image processing with photoshop
Digital image processing with photoshop
 
DIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptx
DIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptxDIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptx
DIGITAL IMAGE PROCESSING FOR A PRESENTATION.pptx
 
Basics of digital image processing
Basics of digital image  processingBasics of digital image  processing
Basics of digital image processing
 
BEC007 -Digital image processing.pdf
BEC007  -Digital image processing.pdfBEC007  -Digital image processing.pdf
BEC007 -Digital image processing.pdf
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Dip review
Dip reviewDip review
Dip review
 
Lec_1_Introduction.pdf
Lec_1_Introduction.pdfLec_1_Introduction.pdf
Lec_1_Introduction.pdf
 
Lec_1_Introduction.pdf
Lec_1_Introduction.pdfLec_1_Introduction.pdf
Lec_1_Introduction.pdf
 
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVECIMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
IMAGE PROCESSING - MATHANKUMAR.S - VMKVEC
 
application of digital image processing and methods
application of digital image processing and methodsapplication of digital image processing and methods
application of digital image processing and methods
 
Digital_image_processing_-Vijaya_Raghavan.pdf
Digital_image_processing_-Vijaya_Raghavan.pdfDigital_image_processing_-Vijaya_Raghavan.pdf
Digital_image_processing_-Vijaya_Raghavan.pdf
 
EC4160-lect 1,2.ppt
EC4160-lect 1,2.pptEC4160-lect 1,2.ppt
EC4160-lect 1,2.ppt
 
YCIS_Forensic PArt 1 Digital Image Processing.pptx
YCIS_Forensic PArt 1 Digital Image Processing.pptxYCIS_Forensic PArt 1 Digital Image Processing.pptx
YCIS_Forensic PArt 1 Digital Image Processing.pptx
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
1. IP Introduction.pdf
1. IP Introduction.pdf1. IP Introduction.pdf
1. IP Introduction.pdf
 
imp.pptx
imp.pptximp.pptx
imp.pptx
 
Computer vision
Computer visionComputer vision
Computer vision
 
Image processing fundamentals
Image processing fundamentalsImage processing fundamentals
Image processing fundamentals
 

1st section

  • 1. 4th Computer Vision Workshop February 2011
  • 2. Introduction to Image Processing What is a digital image? What is digital image processing? Usage examples of digital image processing Key stages in digital image processing
  • 3. Introduction to Image Processing What is a digital image? What is digital image processing? Usage examples of digital image processing Key stages in digital image processing
  • 4. What is a Digital Image?  A digital image is a representation of a two- dimensional image as a finite set of digital values, called picture elements or pixels
  • 5. What is a Digital Image? (cont…)  Pixel values typically represent gray levels, colours, heights, opacities etc  Remember digitization implies that a digital image is an approximation of a real scene 1 pixel
  • 6. What is a Digital Image? (cont…)  Common image formats include:  1 sample per point (B&W or Grayscale)  3 samples per point (Red, Green, and Blue)  4 samples per point (Red, Green, Blue, and “Alpha”, a.k.a. Opacity)
  • 7. Introduction to Image Processing What is a digital image? What is digital image processing? Usage examples of digital image processing Key stages in digital image processing
  • 8. What is Digital Image Processing? Digital image processing focuses on two major tasks  Improvement of pictorial information for human interpretation  Processing of image data for storage, transmission and representation for autonomous machine perception Some argument about where image processing ends and fields such as image analysis and computer vision start
  • 9. What is Digital Image Processing? (cont…) The continuum from image processing to computer vision can be broken up into low-, mid- and high-level processes Low Level Process Input: Image Output: Image Examples: Noise removal, image sharpening Mid Level Process Input: Image Output: Attributes Examples: Object recognition, segmentation High Level Process Input: Attributes Output: Understanding Examples: Scene understanding, autonomous navigation
  • 10. Introduction to Image Processing What is a digital image? What is digital image processing? Usage examples of digital image processing Key stages in digital image processing
  • 11. Examples: Image Enhancement  One of the most common uses of DIP techniques: improve quality, remove noise etc
  • 14. Examples: Medicine Take slice from MRI scan of canine heart, and find boundaries between types of tissue  Image with gray levels representing tissue density  Use a suitable filter to highlight edges Original MRI Image of a Dog Heart Edge Detection Image
  • 15. Examples: GIS Geographic Information Systems  Digital image processing techniques are used extensively to manipulate satellite imagery  Terrain classification  …
  • 16. Examples: Law Enforcement Image processing techniques are used extensively by law enforcers  Number plate recognition for speed cameras/automated toll systems  Fingerprint recognition  Enhancement of CCTV images
  • 17. Examples: HCI Try to make human computer interfaces more natural  Face recognition  Gesture recognition These tasks can be extremely difficult
  • 19. Introduction to Image Processing What is a digital image? What is digital image processing? Usage examples of digital image processing Key stages in digital image processing
  • 20. Key Stages in Digital Image Processing Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 21. Key Stages in Digital Image Processing: Image Acquisition Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 22. Key Stages in Digital Image Processing: Image Enhancement Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 23. Key Stages in Digital Image Processing: Image Restoration Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 24. Key Stages in Digital Image Processing: Morphological Processing Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 25. Key Stages in Digital Image Processing: Segmentation Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 26. Key Stages in Digital Image Processing: Object Recognition Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 27. Key Stages in Digital Image Processing: Representation & Description Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 28. Key Stages in Digital Image Processing: Image Compression Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 29. Key Stages in Digital Image Processing: Colour Image Processing Image Acquisition Image Restoration Morphological Processing Segmentation Representation & Description Image Enhancement Object Recognition Problem Domain Colour Image Processing Image Compression
  • 30. Thresholding  Use a threshold to transforms an input image into a binary image  Compare each input pixel value f(i, j) against the threshold, θ, and setting the output pixel value g(i, j) appropriately 0 if ( , ) ( , ) 1 otherwise f i j g i j    
  • 31. Thresholding Dr. Philip Tse Multimedia Coding and Processing 31  Sample black and white images θ=141 θ=128 θ=115
  • 32. Thresholding  Different images can be generated from using different thresholds.  Higher threshold allows only fewer brighter pixels to become white.
  • 33. Thresholding  Many applications in image processing  Difficult to decide the value of threshold, θ.  The threshold value may depend on the application required.
  • 34. Summary  We have looked at:  What is a digital image?  What is digital image processing?  Usage examples of digital image processing  Key stages in digital image processing  Next section we will talk about OpenCV
  • 35.
  • 36.  Introduction  Getting Started  Architecture & Modules  Sample Code OpenCV
  • 37.  Introduction  Getting Started  Architecture & Modules  Sample Code OpenCV
  • 38.  Open Source Computer Vision Library  Originally developed by Intel, currently maintained by Willow Garage  Written in C/C++  Implements Image Processing and Computer Vision algorithms OpenCV - Introduction
  • 39.  Cross-platform and extremely portable  Free!  Targeted for real-time applications OpenCV - Introduction
  • 40.  Introduction  Getting Started  Architecture & Modules  Sample Code OpenCV
  • 42.  Introduction  Getting Started  Architecture & Modules  Sample Code OpenCV
  • 43.  CvAux  Defunc areas and experimental algorithms  IPP  High Performance low-level routines if IPP is present OpenCV – Architecture & Modules
  • 44.  HighGUI  “Smart” windows  Image I/O, rendering  Processing keyboard and other events, timeouts  Trackbars  Mouse callbacks  Video I/O OpenCV – Architecture & Modules
  • 45.  Introduction  Getting Started  Architecture & Modules  Sample Code OpenCV
  • 46.  Example code: load an image from disk and display it on the screen #include “highgui.h” int main( int argc, char **argv ) { IplImage *img = cvLoadImage( argv[1] ); CvNamedWindow(“Example1”, CV_WINDOW_AUTOSIZE); cvShowImage(“Example1”, img); cvWaitKey(0); cvReleaseImage( &img ); cvDestroyWindow(“Example1”); } OpenCV – Sample Code