# Revision history [back]

maybe you can apply padding to your image using copyMakeBorder, like this:

 x_padding = windowsize_c - (test_image.shape[1] % windowsize_c)
y_padding = windowsize_r - (test_image.shape[0] % windowsize_r)


 # how many pixels do we need to get an additional window ?