sub_image_indices

pipe.sub_image_indices(offset, size)[source]

Helper function that computes index ranges given a 2D offset and a 2D size