get_contour_boundaries¶
-
sitelle.region.get_contour_boundaries(region)¶ DEPRECATED
Computes the contours of a regions. Only works for reasonnably smooth regions (convex, ideally square or circle). Boundaries are not necessary smooth (some indices may be missing)
Parameters: region (tuple of array of indices) – The region from which we want boundaries Returns: contour – A dict of 4 1-D regions defining the contour : top, bottom, left, right Return type: dict See also