Contents, sectors)#

Get the padding at each side of the one dimensions of the image so the new image dimensions are divided evenly in the number of sectors specified.

  • dimension_size (int) – Actual dimension size.

  • sectors (int) – number of sectors over which the the image will be divided.


pad_before , pad_after – Padding at each side of the image for the corresponding dimension.

Return type:

int, int