1 / 18

Ron Cohen Ramy Ben-Aroya

Solving the complex problem of grape detection in vineyards using hybrid techniques of statistic filtering and partial circles detection. The proposed methods involve gradient analysis and edge detection for accurate grape identification. Further research ideas include building a grape dictionary, branch detection, and texture segmentation.

ajoel
Télécharger la présentation

Ron Cohen Ramy Ben-Aroya

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ben-Gurion University ICBV 2009 Final Project Grapes Detection in Vineyard Ron Cohen Ramy Ben-Aroya

  2. Problem Domain • Grape Detection in Vineyards is a very complex problem. As far as we know its an unsolved problem till these days. There are some different ways to try deal with this problem.

  3. Our Solution We chose to hybrid two different techniques • The first one is a statistic filtering, which take measures from the picture’s gradient and compares measures we gathered from grapes images only. • The second way is partial circles detection, which tries to determine if a pixel is the center of a partial circle with fixed radius.

  4. Statistic Filtering • During the course we learned about the gradient and it’s power, which can tell us a lot about the edges in the pictures. • Our filter components are: • Measuring the average gray scale of all the pixels of the picture. • Filtering windows that their average gray scale is much greater from the whole image average.

  5. Cont’ • Measuring the average gradient magnitude of dark and bright grape’s picture (only grapes from different pictures). • Mapping dark and bright areas in the image • Filtering windows that their average gradient magnitude is far from the measure we gathered .

  6. Cont’ • As you can see in a bright picture below:

  7. Cont’ • And in a darker picture below:

  8. Cont’ Here we can see the final rough filtering

  9. Edge Detection • We used Canny’s edge detector • We thought how to overcome the threshold values problem. • A pair of threshold can get reliable results when applied on a certain picture, while on another picture it could be a disaster. • We found that applying Canny’s ED on small parts of the image and then combining the result to one image can yield averagely better results.

  10. Cont’ • Here you can see the different: Canny's results with no window partitioning Canny's results with window 100x100 partitioning

  11. Partial Circles Detection • After getting edge elements we can scan the edge map for partial circles. • Our method is basically looking for pixels that are surrounded by edge pixels with a fixed distance (radius).

  12. Cont’ • The pseudo-code of the pixel p checking is: • radiuses  vector of fixed radius • sum  vector at the size 1x length(radiuses) • sum(i)  sum of the pixels with distance radiuses(i) from p • avgs  vector at the size 1x length(radiuses) • avgs(i)  sum(i)/6/radiuses(i) • maxAvg, maxAvgIndex  max(avgs) • if maxAvg > fixedRatio* then mark p as a center with the corresponding radius : radiuses(maxAvgIndex) *fixed ratio – the minimum part of a circle

  13. 10 pixels Radius Found Centers 10 pixel radius quarter circle Found Centers Cont’ • We can see the results when looking for partial circle in the next image:

  14. Here we can see the application of the method on the image

  15. Cont’ • Now all we need to do is to look for centers only in the filtered areas. • After getting the centers we color around the center by their corresponding radius.

  16. Final Results Detected Grapes Original Image

  17. Ideas for further research : • Building a dictionary which hold a set of measures of different types of grapes, stems, leaves etch’. • Detecting branches as linear lines and trying to detect grapes on areas close to the lines • Detection by texture segmentation. • Adjust the measures to specific conditions like lightning and sun position and even grapes age, which can indicate grape radius

  18. conclusions • One method can never suit for every image. Therefore several methods must be combined • Circles identification is an efficient method for detecting grapes in vineyard. • Lighting conditions are critical for accurate identification and can be a major obstacle. Predicting these conditions like sun position and image brightness analysis can get better results.

More Related