Convert pixel index to coordinate
#include "dip_coordsindx.h"
dip_Error dip_IndexToCoordinate ( index, coordinate, stride )
This function is identical to IndexToCoordinateWithSingletons, but does not handle images with singleton dimensions (dimensions where the size is 1). Please use the other function instead, this one is provided for backwards compatability only.
Data type | Name | Description |
dip_int | index | lineair index |
dip_IntegerArray | coordinate | output coordinates |
dip_IntegerArray | stride | stride array |
IndexToCoordinateWithSingletons, CoordinateToIndex
DIPlib on-line documentation | Function reference | Global function index