bin2cell.view_stardist_labels

bin2cell.view_stardist_labels(image_path, labels_npz_path, crop, **kwargs)

Use StarDist’s label rendering to view segmentation results in a crop of the input image.

Obsoleted by b2c.view_labels().

Input

image_pathfilepath

Path to image that was segmented.

labels_npz_pathfilepath

Path to sparse labels generated by b2c.stardist().

croptuple of int

A PIL-formatted crop specification - a four integer tuple, provided as (left, upper, right, lower) coordinates.

kwargs

Any additional arguments to pass to StarDist’s render_labels(). Practically most likely to be normalize_img.