DIPlib Documentation - ©1995-2013 Quantitative Imaging Group, Delft University of Technology.

# ChainCodeGetLabel

Chain code access function

## SYNOPSIS

`#include "dip_chaincode.h"`

dip_Error dip_ChainCodeGetLabel ( chaincode, label )

## FUNCTION

Returns the label ID of the object whose boundary is described by `chaincode`.

## ARGUMENTS

Data type | Name | Description
`dip_ChainCode` | `chaincode` | Chain code
`dip_int *` | `label` | Receives the label ID in `chaincode`

## SEE ALSO

`ImageChainCode`, `ChainCodeNew`, `ChainCodeFree`, `ChainCodeGetSize`, `ChainCodeGetChains`, `ChainCodeGetStart`, `ChainCodeGetConnectivity`