View License

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

» Watch video

Highlights from
Simple Shape Detection using Hough Transform

4.0 | 13 ratings Rate this file 62 Downloads (last 30 days) File Size: 10.6 KB File ID: #9275 Version: 1.0
image thumbnail

Simple Shape Detection using Hough Transform


Tan Chin Luh (view profile)


07 Dec 2005 (Updated )

This demo shows simple method of shape detection using Hough Transform

| Watch this File

File Information

This demo shows simple method of shape detection using Hough Transform. Based on the Hough Matrix, 3 shapes (triangle, round and square) are classified based on their simple properties using if-else statement.

For more information on how it works, visit:

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (18)
24 Feb 2017 he xiaojun

25 Apr 2014 Asif Sharif Chaudhry

11 Feb 2014 Salar

Salar (view profile)

Awesome ...

Comment only
13 May 2013 vyshnavi


Comment only
18 Jan 2013 gunner

gunner (view profile)

30 Mar 2012 nanda kishore

how to work on with real images using hough......pls help

Comment only
25 Mar 2012 nanda kishore

i took a right angled triangle and it detects it as a square. pls help

19 Aug 2011 Lijie

Lijie (view profile)

toooo simple

09 May 2010 bleuf1sh f1sh

I am running 2009b and it won't even run


??? Attempt to reference field of non-structure array.

Error in ==> HoughObject>pbGenerate_Callback at 102

Error in ==> gui_mainfcn at 96

Error in ==> HoughObject at 42
gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback

it would really help me out if I could see a working example for my version, thanks

Comment only
25 Jan 2010 Sisir Kanti


12 Aug 2008 sh swa


22 Jun 2008 Arun Powar

very very helpful tool..

20 May 2008 muhammad rafiq

a very good effort

15 May 2008 Sanchit Singh

These blogs are superb....helping us (students) very much...Please keep these blogs forever...

18 Sep 2007 sn huda

Might be really helpful if this program is modified to fit various object in an image.

06 Sep 2007 Bob Jones

28 May 2007 agus syawal

this is so simply enough for beginner, thanks

Comment only
01 Jan 2006 Enes Yigit

Is there the MATLAB code for hough transform?
I dont have yours????????

Contact us