Chain code access function
#include "dip_chaincode.h"
dip_Error dip_ChainCodeGetConnectivity ( chaincode, connectivity )
Returns the connectivity used when extracting the boundary described in chaincode. connectivity==1 indicates 4-connected neighbours, and the code uses integers 0 through 3. connectivity==2 indicates 8-connected neighbours, and the code uses values 0 through 7. See The connectivity parameter.
Data type | Name | Description |
dip_ChainCode | chaincode | Chain code |
dip_int * | connectivity | Receives the connectivity value in chaincode |
ImageChainCode, ChainCodeNew, ChainCodeFree, ChainCodeGetSize, ChainCodeGetChains, ChainCodeGetStart, ChainCodeGetLabel