dmafackler Posted August 25, 2011 Report Share Posted August 25, 2011 Specifically in LabVIEW. We have an application for image correction that will make use of this class of splines. Otherwise rolling our own based on DirectX, OpenGL, or implementing based on prior work: // Interpolate() and PreCompute() are adapted from: // NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING // ISBN 0-521-43108-5, page 113, section 3.3. Quote Link to comment
jgcode Posted August 25, 2011 Report Share Posted August 25, 2011 I found this link here? Quote Link to comment
jcarmody Posted August 25, 2011 Report Share Posted August 25, 2011 The Catmull-Rom spline algorithm guarantees that the generated spline path passes through the provided points. This brings back memories of a project I worked on 10-15 years ago. We bought a vision system solution that was to characterize the performance of an analog pressure gauge and calculate a custom non-linear dial. It appeared that their curve-fit forced the path to go through each measured point and the dials looked horrible - graduation marks bunched together in some points, spread way out in others. There was some inaccuracy in the measurements so the gauges weren't accurate. I changed to a polynomial fit and Bob was my uncle. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.