05-02-2007 08:38 PM
05-02-2007 10:00 PM
Aren't these spline fits?
I have a fustercluck (not of my own making ) that will keep me away from this challenge for a couple of days.
Ben
05-03-2007 03:11 PM - edited 05-03-2007 03:11 PM
Message Edited by altenbach on 05-03-2007 01:15 PM
05-03-2007 05:56 PM - edited 05-03-2007 05:56 PM
Message Edited by unclebump on 05-03-2007 05:56 PM
05-03-2007 06:29 PM
@unclebump wrote:
The top curve is a constant radius, the bottom curve is a compound radius according to the manufacturer. And I have to keep this in a 7.0 world.
All the code shown is available in 7.0 (the icons might be a bit different).
"Fitting on a sphere" will give you a constant radius. I don't know what a "compound radius" curve is, do you have a formula?
05-04-2007 12:23 PM
05-05-2007 12:42 PM - edited 05-05-2007 12:42 PM
I'm back on this one.
I have been interested in the Q for a while because when we have attmpted to use fixed radius approaches to this question when always ran into kinks somewhere.
The attached zip has LV 7.1 files for doing spline fits using the files included (fix file specs!).
Since I was more interested in learning how spline fits would work than in automating the image analysis, I resorted to a little editing using paint. I took the image you provided and saved it as a number of bmps'. The bmps have red pixels that define four points for each centerline. The four points are are pairs that define the trajectory of the track at each end ot the thurn out. I read these bmp's and get the cordinates of the pixels and then do a spline fit going through the four points. These are then plotted in a XY graph that overlays your picture.
The image above shows the results of the four bmps I defined. Two represnt the center lines of the two tracks in you picture. Two others show how the spline can beused to define centerlines of tracks approaching at trajectories that I defined.
Thanks for the picture. It made this experiment a lot more fun.
Ben
Message Edited by Ben on 05-05-2007 12:43 PM
05-05-2007 04:20 PM
05-05-2007 04:30 PM
05-05-2007 06:14 PM