File Exchange

image thumbnail

Generalized Hough transform

version 1.7 (3.18 KB) by

Find template/shape given in binary image in grayscale image, using generalize hough transform

63 Downloads

Updated

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

Comments and Ratings (9)

ahmed hassan

Patrick Kurer

Awesome! Works very well

sagi eppel

sagi eppel (view profile)

You need two inputs one is a grayscale image.
The second a boolean(0/1) edge image of the template you want to find in the image.
If you put this you shouldn't get any errors.

Kanika Jakhar

How can I run this file??
it shows error in line 21..about not enough input arguments.

ibrahim

if you have GHT with rotation , can send it to me
I_omara84@yahoo.com
thanks in advance
sincerely
Omara

ibrahim

what about the rotation GHT?

ma7moud emam

david

david (view profile)

Updates

1.7

Screenshot

1.5

Screenshot

1.3

edit

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video