matlabimage-processingcomputer-visionhough-transform

Generating a histogram array for detecting curve segments using Hough Transform


I basically understand the theory behind using the Hough Transform to detect parabolas (i.e. y = a( x - x_c ) + y_c).

However, I want to implement it myself in MatLab so I can see it working (I don't want to use pre-written code to do it for me). Would someone be able to help me by giving me some pseudocode? I.e. it doesn't have to be MatLab syntax etc. I will be using an edge detector like for Canny edge detector to provide input to the HT.

Any help would be awesome :). Thank you.


Solution

  • UPDATE: The link below is broken: the original example was from a lecture that is now on You Tube


    There's a detailed example (with pictures) here: pseudocode is on pg5 (see below), MatLab code on pg6-7.

    enter image description here

    (There's also another MatLab example here).