<< Chapter < Page | Chapter >> Page > |
Although SIFT is extremely useful, it cannot easily find vertical or horizontal lines because they are not considered feature points. Since our image templates were made up of almost all straight lines, we had a significant issue. Due to time constraints we chose to implement the edge functions in MatLab. Instead of passing the results of SIFT into the Hough Transform and Moment of Inertia we passed the results of the edge functions in MatLab.
Clearly the edge results from matlab are much more suited to our type of test images.
Even with noise same peaks are found.
With this amount of noise the peaks are still found. As long as the noise does not interfere with the edges the peaks will always be found. However, if the edges are lost then the Hough Peaks will be incorrect.
Moment of Inertia Method works perfectly on a test image without overlaps where the shapes are significantly different.
However, bwboundaries returns closed boundaries which would create problems when you have intersection of lines.
We can clearly see from the previous images that the function now detects 4 objects instead of the three that we are interested in, shown below as the two larger squares traced out by red outline and the smaller one filled by the color green.
In the above image, objects in the top right and top left corners of the subplots differ in moment of inertia by 0.703%, in spite of having drastically different shapes. However, we note that such algorithm would only produce false positive.
Notification Switch
Would you like to follow the 'Elec 301 projects fall 2014' conversation and receive update notifications?