The shrink parameter is an integer factor which is the power of 2 in the range from 1 to the minimum dimension of the block size. For example, if shrink = 2 than the output array will be halfed in each direction. Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>