def get_content_of_sliding_window(image, abs_center, width, height, count=0):
    """Returns a width x height window where abs_center is the center."""
    y_bottom = image.shape[0] - height*count
    y_top = y_bottom - height

    if y_top < 0:
        return None

    x_left = abs_center - round(width/2)
    x_right = abs_center + round(width/2)
    window = image[y_top:y_bottom, x_left:x_right]

    return window