Distance generation function
#include "dip_generation.h"
dip_Error dip_EuclideanDistanceToPoint ( output, origin )
Output: sfloat
Computes the Euclidean distance of each pixel in the output image to a point at origin. The coordinates of origin may lie outside the image.
Data type | Name | Description |
dip_Image | output | Output Image |
dip_FloatArray | origin | Coordinates of the Origin |
EllipticDistanceToPoint, CityBlockDistanceToPoint
DIPlib on-line documentation | Function reference | Global function index