Distance Transform
segmentation, masks & control

Prompt
Transform this image into a Distance Transform visualization, isolating the main foreground silhouettes against solid black. Make their boundaries dark and increase grayscale brightness progressively toward points deepest inside each shape, producing smooth interior ridges rather than directional illumination or photographic shading. Keep the original subject and composition.
Identify
Brightness increases with distance to the mask boundary1.
Principle
For each foreground pixel2, the distance to the nearest zero is measured.
Try it out
Change the initial mask.
Classification
Calculated image processing result.
Further examples · 8 images






