For each zero-valued pixel in the source, get the distance to the nearest non-zero pixels in the given direction.
Returns a band of floating point distances called "distance".
The source image.
The angle, in degrees, at which to search for non-zero pixels.
The maximum distance, in pixels, over which to search.
|String, default: null|
If provided, multi-band inputs are permitted and only this band is used for searching. All other bands are returned and populated with the per-band values found at the searched non-zero pixels in the label band.