How to detect a triangle of any dimensions from an image(project on traffic sign board identification and alerting driver)

7 visualizaciones (últimos 30 días)
NOTE:im truly a dummy regarding matlab i have read some paper on this topic,they in brief say to take the image and 1.*threshold* and then 2.*denoise* and then 3.*perform hough transfor*m on it to obtain the triangle or diamond shapes from image(i don't know how to do this particularly) 4.and then* compare* the obtained shape from predefined images
well can any one code this stuff for me,i wazz pretty tired of googling this stuff......plzz guys help me out with some code :)

Respuestas (2)

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori el 22 de Jul. de 2011
I have few questions regarding the above posted question...
1.What kind of image is it ? 2.What kind of threshold(static or dynamic) ? 3.By Denoising are you referring to a specific technique ?
Instead of using Google for the code you can have a look at the functions in MATLAB which will help you in your project.
  2 comentarios
shyam
shyam el 23 de Jul. de 2011
i would be taking images countinously from my web cam,
*1.what kind of image*
for example see this image
<http://us.cdn4.123rf.com/168nwm/msanchez/msanchez0907/msanchez090700005/5183078-a-bright-yellow-cow-sign-along-a-country-road.jpg>
original image wont be exactly like this, but a bit noisy
*2.what kind of threshold*
:) im a beginner suggest which would be better
*3.denoising* in the sense just to remove all the un wanted components which come in the way during hough transform at last the shape has to be detected
Walter Roberson
Walter Roberson el 23 de Jul. de 2011
The correct url is
<http://us.cdn4.123rf.com/168nwm/msanchez/msanchez0907/msanchez090700005/5183078-a-bright-yellow-cow-sign-along-a-country-road.jpg

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 23 de Jul. de 2011
In any image, there are an infinite number of triangles of dimension small enough to each fit within an individual pixel (e.g., dimension 0).
In your image, there are a fair number of triangles that could be found in the sand.
The largest triangle in your image is a bit difficult to determine at the resolution of the posted image, but it appears to me that possibly it would be the triangle at the bottom left corner, with the hypotenuse being the shadow of the sign and portions of the left edge and the bottom edge forming the other two edges of the triangle.
There is large yellow object in the image that would seem to be the natural object to be searching for, but unfortunately it is decidedly not triangular.
  1 comentario
shyam
shyam el 23 de Jul. de 2011
i have kept just an example image,i understand ur intention ,i accept it ,but if suppose i want to detect a triangle of certain perimeter to a range........can i achieve it,
i think u hav gone through my project its to detect a traffic sign board from image...

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by