Create a Distance Map
- Click Binary»Adv. Morphology or click Adv. Morphology in the Binary tab of the Processing Functions palette.
- Select Distance or Danielsson.
- Click OK to add this step to the script.
Note This function assigns, to each pixel, a grayscale value equal to the shortest distance to the border of the object. The border might be to a hole within the object. Danielsson uses a more accurate algorithm than Distance. |
Related Topics
Compute the convex hull of objects
Reduce objects to their skeletons