Downsample huge images using numpy, numba and blaze.