Specific example of function for background fit
Wed, 03/28/2018 - 08:40 pm
FN(x,y) = ...
I can guess that, when N = 0, the coefficient wave has one coefficient that is a constant offset. Could someone provide the specific examples for increasing polynomials from N = 1 to N = 3. My guess for N = 2 with ic having six values is this
img_BGx = ic + ic*x + ic*y + ic*x^2 + ic*x*y + ic*y^2
But this does not in any way reproduce what I used as the image.
The top is the source. I chose the gray region inside. It is removed properly. The bottom is generated by the coefficient wave function above.