@stefanv I understand why you were suggesting `find_contours`, but in this case I will be finding the boundary or contour for a `bool` mask as opposed to a grayscale image. So I think here this would be fine. What do you think ?