Generalize spline based filters

This also fixes a quality issue with Mitchell-Netravali: A factor was
missing in the calculation.