eeds to be biased towards the value of the closest point. For example if the 4th point is coincident with point 1 then the calculated grey value should be the same as the grey value of point 1. On the other hand, if the 4th point is equidistant from the 3 points, then the grey value should simply be the average of the 3 grey values.
Many thanks.…