Does this require an array to be odd-shaped? If not, I think it would be worth explaining how the rounding will work. What if the position specified is exactly at the intersection of pixels, but the shape is odd?