imresize
interpolates between pixels when downscaling. You might just want to index into the image?
sqrt_restrict(img, i) = img[1:round(Int,sqrt(2)^i):end, :]
imresize
interpolates between pixels when downscaling. You might just want to index into the image?
sqrt_restrict(img, i) = img[1:round(Int,sqrt(2)^i):end, :]