Apr-15-2018, 06:59 AM
Hi all,
I have two 2D arrays and one array I want to present in cubic spline way. And with this cubic spline representation of one array, I want to fit the other array. But the problem is that in python I have only cubic spline interpolation task, I want to get the functional form of this representation and then with this form I want to fit another 2D array to get the position of centers of the second array relative to the first array. I have used image registration for the centering which is based on FFT. But I have been instructed to use this method only.
So basically can anyone tell me how to get the functional form of 2D cubic spline function in python? For 1D I have got many helps but not for 2D.
Thanks in advance!!
I have two 2D arrays and one array I want to present in cubic spline way. And with this cubic spline representation of one array, I want to fit the other array. But the problem is that in python I have only cubic spline interpolation task, I want to get the functional form of this representation and then with this form I want to fit another 2D array to get the position of centers of the second array relative to the first array. I have used image registration for the centering which is based on FFT. But I have been instructed to use this method only.
So basically can anyone tell me how to get the functional form of 2D cubic spline function in python? For 1D I have got many helps but not for 2D.
Thanks in advance!!