voyagerpy.spatial.get_tissue_boundary#
- voyagerpy.spatial.get_tissue_boundary(adata: AnnData, threshold_low: int | None = None, size: str | None = 'hires', strictness: int | None = None, inplace: bool = False) Polygon#
Detect the tissue boundary. This function computes the tissue boundary from the image in
adata.uns["spatial"]["img"][size]- Parameters:
- Returns:
Polygon of the tissue boundary.
- Return type:
Polygon