From: Mohi on
I would like to inform you that I need a MATLAB source code to recognize different regular geometric shapes
such as: squares,rectangles,triangles,circles and ellipses in different sizes using neural network.
All of the images containing these shapes should be in binary format with the size of 300*400 pixels.
Would you please give me a MATLAB code to detect these geometric shapes?
Furthermore, I need a binary image database for 2D geometric shapes.
Would you please, give me a link to download such a database?
From: Steven Lord on

"Mohi" <mohi_rad2009(a)yahoo.com> wrote in message
news:1748148156.5205.1277498377830.JavaMail.root(a)gallium.mathforum.org...
>I would like to inform you that I need a MATLAB source code to recognize
>different regular geometric shapes
> such as: squares,rectangles,triangles,circles and ellipses in different
> sizes using neural network.
> All of the images containing these shapes should be in binary format with
> the size of 300*400 pixels.
> Would you please give me a MATLAB code to detect these geometric shapes?
> Furthermore, I need a binary image database for 2D geometric shapes.
> Would you please, give me a link to download such a database?

Sorry, I don't know of such a function or such a database. I guess you'll
just have to create your own function and database. If you encounter
problems while creating your function, show the group what you've done and
ask a SPECIFIC question about where you're stuck and you may receive some
help.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: ImageAnalyst on
On Jun 25, 4:39 pm, Mohi <mohi_rad2...(a)yahoo.com> wrote:
> I would like to inform you that I need a MATLAB source code to recognize different regular geometric shapes
> such as: squares,rectangles,triangles,circles and ellipses in different sizes using neural network.
> All of the images containing these shapes should be in binary format with the size of 300*400 pixels.
> Would you please give me a MATLAB code to detect these geometric shapes?
> Furthermore, I need a binary image database for 2D geometric shapes.
> Would you please, give me a link to download such a database?

------------------------------------------------------------
You might take a look at my image segmentation demo, and adapt it to
look at the ratio of perimeter squared to area to detect different
shapes.
http://www.mathworks.com/matlabcentral/fileexchange/25157

In a matter of a few minutes with Photoshop or something similar, you
can create several test images. Or you can take a look at this old
link for a list of some image databases:
http://www.cs.cmu.edu/~cil/v-images.html