OpenCV Lections: 1. Introduction. Problem of image analysis
-
Upload
denis-perevalov -
Category
Documents
-
view
1.157 -
download
3
Transcript of OpenCV Lections: 1. Introduction. Problem of image analysis
![Page 1: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/1.jpg)
Lections on Image analysis, OpenCV
1. Introduction. Problem of image analysis
USU / IMM Fall 2011www.uralvision.blogspot.com [email protected]
http://mimikirchner.com/blog/images/4:20:robots.jpg
http://s2.hubimg.com/u/1343513_f260.jpg
![Page 2: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/2.jpg)
Introduction
At the course will be:1. Formulation and methods for analysis, processing and recognition of digital images.2. The practice of implementing algorithms in OpenCV.
Will not:1. Fundamentals of Programming C + +.2. Fundamentals of image processing in Photoshop and Gimp.3. Neural networks.
![Page 3: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/3.jpg)
Introduction
Under Image Processing Problems we understand the problem of constructing an algorithm forAutomatic computer image analysis to extract some information from the image.
In particular, we will not consider the problems of enhancement of images for human perception.
![Page 4: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/4.jpg)
What is an image processing problem?
![Page 5: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/5.jpg)
Types of Image Processing Problems
Detection
Search for individual objects in the image (regions, contours), the measurement of size, etc. without specifying what they are objects.
Interpretation
Determining the type of an object in an image.
![Page 6: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/6.jpg)
Detection
![Page 7: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/7.jpg)
Segmentation
- Splitting the image into regions.Methods: texture analysis, contour analysis.
![Page 8: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/8.jpg)
Motion Analysis
- Analysis of successive frames to determine the direction ofmotion of objects in the frame.Methods: The computation of optical flow.
![Page 9: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/9.jpg)
Depth perception
- Use two cameras to estimate the distance to objects.Methods: A stereo vision.
Frame from the left cameraFrame from the right camera
The calculated map distances
![Page 10: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/10.jpg)
Tracking objects of interest
- Calculation of the coordinates of an object on a sequence of framesMethods: Tracking.
http://www.merl.com/projects/images/particle.jpg
![Page 11: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/11.jpg)
Branch of the object from the background- Select areas of pixels that are "objects" rather than "background"Methods: The study background for further separation, stereo vision, optical flow.
![Page 12: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/12.jpg)
Interpretation
![Page 13: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/13.jpg)
Recognition of object types
- Texture analysis.
Methods: The calculation of the vector of texture features and subsequent classification.
http://www.gisdevelopment.net/technology/ip/ma03029a.htm
![Page 14: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/14.jpg)
Search for known objects
Methods: A comparison with the standard, the algorithm of Viola-Jones.
![Page 15: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/15.jpg)
Measuring the size of the objects
Methods: A pre-calibrated camera, and then search for objects of interest and points on for size measurements.
Camera Calibration
![Page 16: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/16.jpg)
Gesture recognition
Methods: A hidden Markov model.
http://paloma.isr.uc.pt/gesture-reco/pics/gestureLib.jpg
![Page 17: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/17.jpg)
Orientation in space
Methods: camera calibration, the correction of perspective distortion, a comparison with the reference on the key attributes.
http://www.ics.forth.gr/ae-printerfriendly/cvrl/demos/pan_nav/pan_nav.html
![Page 18: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/18.jpg)
Literature
Computer vision1. Gonzalez R., Woods R. Digital Image Processing.2. Shapiro, G. Stockman. "Computer vision".
OpenCV1. OpenCV C++ documentation: http://opencv.willowgarage.com/documentation/cpp/index.html
2. Gary Bradski, Adrian Kaehler,Learning OpenCV: Computer Vision with the OpenCV Library- Unfortunately, for the version of OpenCV for C, not C + +.
Philosophical Problems of recognitionM.M. Bongard, Problem of Recognition. 1967.
![Page 19: OpenCV Lections: 1. Introduction. Problem of image analysis](https://reader034.fdocuments.in/reader034/viewer/2022050801/5521104c4979597f2f8b50bd/html5/thumbnails/19.jpg)
Homework
1. Install Visual Studio C ++ 2008 (2010) Express Edition.2. Install OpenCV 2.1 (2.2).3. Run a few examples from a folderOpenCV..\samples\c\.