Get indices to neighbours
#include "dip_neighbourlist.h"
dip_Error dip_NeighbourListToIndices ( coords, stride, indices, resources )
This function translates the relative coordinates in coords into relative indices into an image with strides given by stride.
indices is allocated and tracked in resources.
| Data type | Name | Description |
| dip_CoordinateArray | coords | Input neighbour coordinates |
| dip_IntegerArray | stride | Stride array |
| dip_IntegerArray * | indices | Output neighbour indices |
| dip_Resources | resources | Resources tracking structure. See ResourcesNew |
NeighbourListMake, NeighbourListMakeChamfer, NeighbourListMakeImage, NeighbourListToIndices, NeighbourIndicesListMake