modified to make it consistent with other interpolators to use pixel + 0.5