locpix.img_processing.watershed.get_markers#
- get_markers(img, file_name='Image') list [source]#
Get markers for the image for watershed_segment using PyQt6 widget Image will be converted to [0 255] greyscale image for compatibility with PyQt6 widget
- Parameters:
img (np.ndarray) – Image for which need markers for watershed
file_name (string) – Name of the file
- Returns:
- List of tuples containing coordinates of markers (h,w)
relative to top left of image
- Return type:
marker_coords (list)