PaperPeriodic quasi-orthogonal spline bases and applications to least-squares curve fitting of digital images