1. An integrated circuit-implemented method of performing data resampling, comprising: controlling a processor to read executable computer instructions from a non-transitory computer memory, the executable computer instructions for controlling at least one integrated circuit to perform the steps of: reading data to be resampled from a computer memory; and for data items in the data to be resampled, performing the steps of: selecting a data item at location (x,y); assigning a value of i to floor(x); assigning a value of j to floor(y); determining dx such that dx=x−i; determining dy such that dy=y−j; determining validities of at least four points surrounding location (x,y); and calculating a resampled value for the data item at location (x,y) using i, j, dx, dy and valid points of the at least four points surrounding location (x,y).