image thumbnail

Generalized Hough transform

version 1.7.0.0 (3.18 KB) by sagi eppel
Find template/shape given in binary image in grayscale image, using generalize hough transform

4K Downloads

Updated 20 Jan 2014

View License

Generalised Hough Transfrom
Find template/shape Itm in greyscale image Is using generalize hough transform

Use generalized hough transform to find Template/shape binary image (given in binary image Itm) in grayscale image (Is grayscale image)

Is is grayscale picture were the template Itm should be found

Itm is bool edge image of the template with edges marked ones

Return the x,y location coordinates which gave the best match

Also return the score of each this point (number of point matching)

%The x,y are the coordinates in image Is in which the the top left edge of image Itm (1,1) should be positioned in order to give the best match

Cite As

sagi eppel (2022). Generalized Hough transform (https://www.mathworks.com/matlabcentral/fileexchange/44166-generalized-hough-transform), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!