Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to...
Transcript of Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to...
![Page 1: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/1.jpg)
Object Recognition and Feature Detection in Images Using MATLAB
Sadhana Venkataraman, Farragut High SchoolYukai Tomsovic, West High School
Ms. Gangotree Chakma
CURENT Young Scholars Program18 July 2016
Min Kao Building, University of Tennessee
![Page 2: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/2.jpg)
Topics
➤ What is image processing?➤ Edge Detection
◖ Measuring properties➤ Shape Detection➤ Color Segmentation
◖ Manually◖ K-Means Clustering
➤ Feature Detection◖ Comparison between images
2
![Page 3: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/3.jpg)
Image Processing
➤ What is Image Processing?◖ Method to perform operations on an image, in order to get an
enhanced image or to extract useful information1
➤ Basic Steps:▪ Acquire and import image▪ Analyze and manipulate image▪ Output -- image, component of image, or report based on image
analysis
3
1Anbarjafari, Gholamreza. "Introduction to Image Processing." Sisu@UT. University of Tartu, n.d. Web. 13 June 2016.
![Page 4: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/4.jpg)
Edge Detection
1. Creating a binary image◖ Otsu’s Method◖ Function im2bw
2. Labeling connected components◖ Function bwlabel
3. Measuring Properties◖ Area◖ Identify types of objects
3
![Page 5: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/5.jpg)
Edge Detection, Cont’d
5
figure 1: original image, gray scale image
figure 2: binary image
![Page 6: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/6.jpg)
Shape Detection➤ Use Code imdistline to Measure Radii of Circle(s)
◖ Radii of circles are measured by the number of pixels ➤ Set a Range From the Smallest to Largest Radius
◖ Use imfindcircles code ➤ Color of Shape
◖ Adjust object polarity to ‘bright’ or ‘dark’ depending on the background color
6
![Page 7: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/7.jpg)
Shape Detection, Cont’d
7
![Page 8: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/8.jpg)
Practical Uses of Shape Detection
➤ Astronomy◖ Detecting patterns in waveforms◖ Classification of stars and galaxies
➤ Medicine◖ Medical imaging to detect sickness based on cell shape
➤ Archaeology◖ To find missing or similar objects
8
![Page 9: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/9.jpg)
Color Segmentation
➤ Pixel ranges◖ Using for loop to
iterate through each row of the pixel matrix
◖ If loop to group centers into colors by the range of pixel
9
![Page 10: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/10.jpg)
Counting Colors
10
yellow blueredgreen
![Page 11: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/11.jpg)
Color Segmentation: K-Means Clustering
11
1. RGB to L*a*b color space
2. Classify colors in ‘a*b*’ space with K-means clustering
3. Label pixels and separate objects
![Page 12: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/12.jpg)
K-Means Clustering
12
Figure 1. Original Image of watercolor paint
Figure 2. First cluster of color
Figure 3. Second cluster of color
Figure 4. Third cluster of color
![Page 13: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/13.jpg)
Practical Uses of Color Segmentation
➤ Biology◖ Distinguish different types of tissue, cells, tumor borders, etc.◖ Medical thermography in detecting breast cancer,
tendon/ligament injuries, areas of poor circulation
13
![Page 14: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/14.jpg)
Feature Detection
➤ Distort Image by Rotating
➤➤ Locate Features in Each Image
14
![Page 15: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/15.jpg)
Feature Detection, Cont’d
➤ Match the Corresponding Points on Both Images
➤ Write an If Statement to Determine Whether the Images are the Same
15
![Page 16: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/16.jpg)
Feature Detection, Cont’d
16
![Page 17: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/17.jpg)
Feature Detection, Cont’d
17
![Page 18: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/18.jpg)
Feature Detection, Cont’d
18
![Page 19: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/19.jpg)
Feature Detection, Cont’d
19
![Page 20: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/20.jpg)
Conclusion
➤ Our research -- foundations for more advanced technology
➤ Further applications of image processing◖ Medical field
▪ PET Scans▪ X-Ray Imaging
◖ Space Image Processing▪ Hubble Space Telescope Images
◖ Automatic Character Recognition▪ Scanning license plates and zip codes
20
![Page 21: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/21.jpg)
Questions and Answers
21
![Page 22: Object Recognition and Feature Detection in Images Using ...What is Image Processing? Method to perform operations on an image, in order to get an enhanced image or to extract useful](https://reader035.fdocuments.net/reader035/viewer/2022071210/60222c83135dd56f596cf424/html5/thumbnails/22.jpg)
Acknowledgements
This work was supported primarily by the ERC Program of the National Science Foundation and DOE under NSF Award Number EEC-1041877.
Other US government and industrial sponsors of CURENT research are also gratefully acknowledged.
22