Creating 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
Adv. Morphology (Binary»Adv. Morphology)
Computing the convex hull of objects
Reducing objects to their skeletons