Woolz Image Processing  Version 1.8.3
WlzDistAllNearest.c File Reference

Functions to compute nearest points in a reference domain at all points in a foreground domain. More...

Functions

WlzCompoundArrayWlzDistAllNearest (WlzObject *gForObj, WlzObject *gRefObj, WlzDistanceType dFn, WlzObject **dstDstObj, WlzErrorNum *dstErr)
 Computes the nearest points in a reference domain at all points in a foreground domain and (optionally) the distance of the reference domain points from their nearest points within the reference domain. The returned compound array object has integer reference point coordinates with column (x), line (y) and for 3D objects plane (z) having indices 0, 1 and 2 respectively. Distances are correct for the given distance function and are not normalised to remove over estimates with respect to constrained Euclidean distance. The intersection of the foreground and reference object is be used to ensure that the reference object is within the foreground object. More...
 

Detailed Description

Functions to compute nearest points in a reference domain at all points in a foreground domain.

Author
Bill Hill
Date
April 2021
Version
Id
fde3f8cf1af48649b129b3f379a72ba5b626600d
Copyright (C), [2021], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.