15,613,873 members
See more:
hi,

i have the project that needs to me to develop the source code for calculate irregular shapes area,length and width for rice seeds .i have the problem to do this solution.so,can anyone help me to make the solution.My project is for detect and extract the irregular shape and must calculate the area of irregular shape...

Regards
nitin dhiman
nittonly4u@gmail.com
Posted
Sergey Alexandrovich Kryukov 11-Sep-13 2:49am
It highly depends on what's on input. In particular, is image recognition involved?
—SA

Solution 1

Basically, you need to learn elementary mathematics, and, for curved irregular shapes, some elementary calculus. This is hardly a topic for one of few Quick Answers. In practice, you need to approximate an irregular shape with a polygon, which you should know how to measure for area and perimeter.

—SA

Anurag Sinha V 11-Sep-13 2:53am
Rightly said Mr. SA, the above question is not a straight forward one and I agree on the fact that an irregular shape has to be approximated as the nearest polygon..
NIce suggestions..

-Anurag
Sergey Alexandrovich Kryukov 11-Sep-13 2:59am
Thank you, Anurag.
—SA

Solution 2

Thank you Sir Sergey Alexandrovich and Anurag Sinha V...For Comments

please give me Some help how to solve this..Any suggestion...

How to Paste an image in Comments to Know what is the actual problem...

thanks Again...

for image http://www.freewebs.com/bnip1/morphologyclearborder.htm[^]