Question: Surface fit and Lowess

Colleagues, help me please. There is a 256 by 256 matrix in the form of a histogram or heat map.

I want to smooth this histogram and get a surface function.

I used Lowess.

However, there is a problem. the resulting function f (x,y) of the surface is calculated for a long time and it is not possible to use it in NonLinearfit. My NonLinearFit does not give a result. I try to use this function as  A * f(x,y) where A is parameter/

And my idea is to use this function as a template when approximating new poorer matrices. like copulas

What should I do?

Please Wait...