Is there an opencv python function that returns the pixel intensity at the interpolated location ? I am trying to write my own function for it but I am confused. I know how to interpolate for 1 dimensions but not 2.
def interp(x, x1, x2, fx1, fx2):
return (x - x1)/(x2 - x1)*(fx2 - fx1) + fx1