StardistTransform StardistTransform ¶ Bases: OnlyInstMapTransform available_keys property ¶ available_keys: set[str] Returns set of available keys. __call__ ¶ __call__(inst: ndarray, **kwargs) -> np.ndarray Fix duplicate values and generate radial distance maps. Parameters inst (np.ndarray): Instance labelled mask. Shape (H, W). Returns np.ndarray: Pixelwise radial distance maps. Shape: (n_rays, H, W). Dtype: float64.