Hi Sandhu. I wish to apply your algorithm on a set of images in time sequence with 30 frames per second for 5 seconds. So there are approx 150 images and i wish the code to detect the same contour in all the images. I am successfull in doing this on one image

Dear Alan,
thanks for this great function! Is there any chance for me to get the related papers explaining this method, as well? Tried to research it the whole day - without succes...
Thanks a lot!
patrick-fink@gmx.net

5

23 Jan 2014

Sphere Fit (least squared)
Fits a sphere to a set of noisy data. Does not require a wide arc or many points.

Dear Alan, could you please, explain more about the two vectors A and B. I don't understand the rationality of Error function you defined as sum((x-xc)^2+(y-yc)^2+(z-zc)^2-r^2)^2,. Is the initial sphere center is taken for partial of the error of each parameter for example xc= mean(x), yc=mean (y) and zc= mean (z) and the function E = sum((xi-mean(x))^2+(y-mean(y))^2+(z-mean(z))^2-r^2)^2 and then, minimze the function E. many thanks

Comment only

30 Jun 2013

Sphere Fit (least squared)
Fits a sphere to a set of noisy data. Does not require a wide arc or many points.

Dear Alan, pointing to my previous comment, I have just want to correct the equation
E = sum((xi-mean(x))^2+(yi-mean (y))^2+(zi-mean(z))^2-r^2)^2
Regards

Comment only