Resamples image according to scale. Resampling is done according to ccd pixels
image (ndarray) – image data. Noise is only added to image values > 0
scale (float) – scale value for image transformation
res
ndarray