From: muhammad zain on 30 Dec 2009 03:23 Hi, i am working on image processing and i want to find out the diameter of a gear so please help me out in finding the diameter
From: us on 30 Dec 2009 09:21 "muhammad zain" <mzain116!@yahoo.com> wrote in message <hhf2l6$mqi$1(a)fred.mathworks.com>... > Hi, > i am working on image processing and i want to find out the diameter of a gear so please help me out in finding the diameter a hint: - if(f) you own the image proc tbx help regionprops; us
From: ImageAnalyst on 30 Dec 2009 09:59 On Dec 30, 3:23 am, "muhammad zain" <mzain1...(a)yahoo.com> wrote: > Hi, > i am working on image processing and i want to find out the diameter of a gear so please help me out in finding the diameter ----------------------------------------------------- An example you can follow: http://www.mathworks.com/matlabcentral/fileexchange/25157 A gear has several "diameters" - the outer one, the inner one, and perhaps some interior diameters if there is some structure to the gear. Which do you want? To get the outer diameter, take the convex hull of the gear and calculate it's ECD: equivalent circular diameter which is the diameter you get if you set the area of the convex hull of the gear equal to the area of a circle (pi*D^2/4).
|
Pages: 1 Prev: Desinging a GA for solving routing problems Next: Searches vector |