Distance
Effects/Distance Transform
Performs a distance transform on the given mask image, the threshold parameter is used to determine which values from the mask should be considered part of the shape. The color output will compute the source color based on the maximum distance.
Input Parameters
- Input Image Gray
- SourceInput Image
- Mode Enum · Color, Distance, Distance Separate
- DistanceMode Enum · Euclidean, Manhattan, Chebyshev
- SamplingModeU Enum · Repeat, Clamped
- SamplingModeV Enum · Repeat, Clamped
- Distance Float · Range 0.00 → 1.00
- Threshold Float · Range 0.00 → 1.00
- InvertMask Boolean
- InvertDistance Boolean
- ClampDistance Boolean
Output Parameters
- Color Image
- Distance Image Gray
- DistanceDx Image Gray
- DistanceDy Image Gray
Example


Meta
Author | InstaMaterial GmbH | Category | Effects/Distance Transform | Tooltip | Performs a distance transform on the given mask image, the threshold parameter is used to determine which values from the mask should be considered part of the shape. The color output will compute the source color based on the maximum distance. | Name | Distance | Version | 0.397 | ID | 604726af-d4fc-4c54-bd32-3e6659623cf3 | PackageUrl | pkg://a1110612-0488-4065-b564-594d84e71e41/atoms/604726af-d4fc-4c54-bd32-3e6659623cf3.atom |
---|