How to Implement Spline Fitting

Introduction Splines Spline Fitting - First Steps The Optimization Problem Optimizing It Show Me the Code! Challenges and Improvements Avoiding Loops Adding Constraints Lagrange Multipliers Closing Words Introduction In this article, I’ll show you how I implemented spline fitting in Scan Tailor, which is a tool for post-processing scanned or photographed pages. I am the original author of that…