Filter löschen
Filter löschen

Detecting circles and lines in a image

4 Ansichten (letzte 30 Tage)
Shilpa Sharma
Shilpa Sharma am 28 Mär. 2017
Beantwortet: Santhana Raj am 31 Mär. 2017
The user is suppose to upload a image. I need the program to check the image if it contains any circle or line patterns. I have used Gabor filter to detect lines of the image and circular Hough Transform for circles. I need to combine the two such that the if circles are detected, it goes to the CHT part else gabor filter is used. But circles are detected in the images consisting only lines. How can I distinguish lines and circles and reduce the error that is produced?

Antworten (1)

Santhana Raj
Santhana Raj am 31 Mär. 2017
You can use Hough transform to detect lines also. Instead of gabor, use a universal hough transform to detect both lines and circles.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by