Giter Site home page Giter Site logo

circle-hough-transform's Introduction

Circle Hough Transform

Implementation of Hough Transform to detect Circles in an Image

Circle Hough Transform is a feature extraction technique used in Digital Image Processing to detect circles in an image. It is a specialized form of Hough Transform that utilizes three core techniques used in Image Processing - Image Filtering, Edge Detection and Hough Transform.

The project was implemented as a final project for the course CSE573: Computer Vision and Image Processing at University at Buffalo, The State University of New York during Fall 2016. The goal of the project is to detect circles in an image using Hough Transform.

To run the program type python main.py in the terminal. Requires the following packages installed

  • Numpy
  • Matplotlib
  • Scipy

Implementation

Circle Hough Transform is implemented by "voting" in the Hough parameter space. The image is smoothened using a Gaussian Filter to eliminate any unwanted noise. Then the edges are detected in the image using Laplace of Gaussian with Zero Crossing. This provides the basic outline in the image. At each point on the edge, voting for all possible circles is performed in the Hough space. The local maxima in the Hough space gives the circles. A threshold is used to identify qualifying local maxima's.

Results

The implementation requires identifying optimal threshold values for edge detection and local maxima's. This is done iteratively by scanning through the threshold space.

Input Image

Circle Hough Transform Output

We can see that Circle Hough Transform is able to detect even the occluded circles.

circle-hough-transform's People

Contributors

pavangj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.