From: anbazhagan on
hi

using ccd i got image, see the link
http://www.4shared.com/photo/ZybF81Yz/image.html

i want to calculate the center of the illuminated area i.e i want to find the
diameter of the circle in that image .

can anybody help me for this ?
From: Thomas Britton on
What have you tried so far?

Do you need this as a one off or is this going to be automated? (If so how many times).

A circle is described by (x-xc)^2+(y-yc)^2 = r^2. Where (x,y) is on the circle; (xc,yc) is the center of the circle and r is its radius.

A simple point an click method would be to select three points on the edge of the circle and then solve for the circle equation above.

Try:
help ginput

"anbazhagan " <anbuphy(a)gmail.com> wrote in message <i3qu61$214$1(a)fred.mathworks.com>...
> hi
>
> using ccd i got image, see the link
> http://www.4shared.com/photo/ZybF81Yz/image.html
>
> i want to calculate the center of the illuminated area i.e i want to find the
> diameter of the circle in that image .
>
> can anybody help me for this ?
From: anbazhagan on
hi
I detected edges of the circle using Sobel Edge Detection method , then i got image

http://www.4shared.com/photo/vvPEPOcf/_2__image.html

from that image i want to calculate the diameter of the circle .
any idea?


"Thomas Britton" <benjamin.britton(a)materials.ox.ac.remove.uk> wrote in message <i3r2lg$hh2$1(a)fred.mathworks.com>...
> What have you tried so far?
>
> Do you need this as a one off or is this going to be automated? (If so how many times).
>
> A circle is described by (x-xc)^2+(y-yc)^2 = r^2. Where (x,y) is on the circle; (xc,yc) is the center of the circle and r is its radius.
>
> A simple point an click method would be to select three points on the edge of the circle and then solve for the circle equation above.
>
> Try:
> help ginput
>
> "anbazhagan " <anbuphy(a)gmail.com> wrote in message <i3qu61$214$1(a)fred.mathworks.com>...
> > hi
> >
> > using ccd i got image, see the link
> > http://www.4shared.com/photo/ZybF81Yz/image.html
> >
> > i want to calculate the center of the illuminated area i.e i want to find the
> > diameter of the circle in that image .
> >
> > can anybody help me for this ?
From: Image Analyst on
anbazhagan:
Just download and run my image processing demo, where I do exactly that (with the standard MATLAB coin image).
http://www.mathworks.com/matlabcentral/fileexchange/25157
You will easily be able to adapt it to your image simply by changing the image that is read in.
Image Analyst
From: anbazhagan on
hi
That program is not working for me.
i want to calculate the diameter of the circle automatically .
i want to Trace the size or diameter of the image.
how can i proceed ?




"Image Analyst" <imageanalyst(a)mailinator.com> wrote in message <i3rbl7$cb5$1(a)fred.mathworks.com>...
> anbazhagan:
> Just download and run my image processing demo, where I do exactly that (with the standard MATLAB coin image).
> http://www.mathworks.com/matlabcentral/fileexchange/25157
> You will easily be able to adapt it to your image simply by changing the image that is read in.
> Image Analyst