From: snehal d on
Am a beginer...i need to recognise square,rectangle,triangle in an image can anyone help me in coding... i hve detected object and bounded it using bwboundaries() now i should recognise shape of that object plz send me code....
From: Ashish Uthama on
On Wed, 14 Apr 2010 10:29:06 -0300, snehal d <shruti88gv(a)gmail.com> wrote:

> Am a beginer.. can anyone help me in recognising circle,square,triangle
> objects... i hve detected object and bounded object using
> bwboundaries().. plz help me in coding recognition part...

It would help if you posted images of the orignal and the result of
bwboundaries.

You might consider using regionprops, and then using area, perimeter and
other such metrics to make your decisions about the shape. For example
different geometrical shape generally have different area/perimeter ratios.
From: snehal d on
I don want to use regionprops().. how can i implement this??
From: ImageAnalyst on
On Apr 14, 12:05 pm, "snehal d" <shruti8...(a)gmail.com> wrote:
> I don want to use regionprops().. how can i implement this??

------------------------------------------------------------------------------
Sorry. I don't reinvent wheels, or regionprops() either.
If you want to reinvent regionprops, you're on your own.
Good luck.