watershed | R Documentation |
Basically a wrapper around the imager package
watershed
function to perform marker assisted watershed
segmentation of spatstat im
objects.
watershed(mask, seeds, fill_lines = TRUE)
mask |
image object (grayscale or binary) |
seeds |
planar point pattern containing seed/marker coordinates |
fill_lines |
Logical value indicating whether watershed lines should be filled or left as background. |
labelled image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.