Chain code measurement function
#include "dip_chaincode.h"
dip_Error dip_ChainCodeGetLongestRun ( chaincode, longestRun )
Returns the number of pixels in the longest run of identical codes in chaincode. This represents the longest straight section of the boundary.
Data type | Name | Description |
dip_ChainCode | chaincode | Input chain code |
dip_int * | longestRun | Receives the pixel count for the longest run |
ImageChainCode, ChainCodeNew, ChainCodeFree, ChainCodeGetLength, ChainCodeGetFeret
DIPlib on-line documentation | Function reference | Global function index