Chain code measurement function
#include "dip_chaincode.h"
dip_Error dip_ChainCodeGetLength ( chaincode, length )
Computes the length of the boundary encoded by chaincode. See FeaturePerimeter for a description of the algorithm. ChainCodeGetLength is the function used by Measure for the FeaturePerimeter measurement.
Data type | Name | Description |
dip_ChainCode | chaincode | Input chain code |
dip_float * | length | Output measurement |
ImageChainCode, ChainCodeNew, ChainCodeFree, ChainCodeGetLongestRun, ChainCodeGetFeret, ChainCodeGetRadius