I am trying to increase the brightness of a gray-scale image. To do that I want to create a spline. But when I am trying to use scipy.interpolate.UnivariateSpline, it is rai