hey Ray,
thx for your relpy! I have not solved the problem completly yet, but it works acceptable with many additional filters to locate the false detected elliptical parts. I use the function lsfitlinear() and put my scanner values (x,y) as sample data into the function. Now the current scan segment is testet with the sample data. I dont know if there is a better way to use this funktion. I've read things that you can giva a function like f(x)= x?+2xy.... to the lsfitlinear() function. Maybe this would work better as use the sample data in (x,y) form.
viewtopic.php?f=2&t=588in this topic i have discribed the problem. As you can see i detect a lot of straight lines .....
maybe you can help me how you put the func=(x-x_m)^2+(y-y_m)^2-r^2 to the alglib method?
many thanks
christian