Method
VipsImagefill_nearest
Declaration [src]
int
vips_fill_nearest (
VipsImage* in,
VipsImage** out,
...
)
Description [src]
Fill outwards from every non-zero pixel in in, setting pixels in distance
and value.
At the position of zero pixels in in, distance contains the distance to
the nearest non-zero pixel in in, and value contains the value of that pixel.
distance is a one-band float image. value has the same number of bands and
format as in.
Optional arguments
distance:VipsImage, output, image of distance to nearest non-zero pixel
See also
This method is not directly available to language bindings.
Parameters
out-
Type:
VipsImageImage with zero pixels filled with the nearest non-zero pixel.
The data is owned by the caller of the method. ...-
Type:
NULL-terminated list of optional named arguments.