This function resamples the images at the new grid points defined by the new pixel sizes. It assumes
This function resamples the images at the new grid points defined by the new pixel sizes. It assumes that intensities are defined at the pixel centers...