Nearest neighbor upsampling (for images).