Freeman Chain Code

Gives Freeman chain code 8-connected representation of a boundary
8.1K Downloads
Updated 24 Nov 2010

View License

usage:
--------------------------------------------------------
[cc] = chaincode(b,u)

INPUT:
--------------------------------------------------------
b - boundary as np-by-2 array
unwrap - (optional, default=false) unwrap code

OUTPUT:
--------------------------------------------------------
cc is a structure with the following fields:
cc.code - 8-connected Freeman chain code 1-by-np
cc.x0,cc.y0 - coordinates of start point
cc.ucode - unwrapped 8-connected Freeman chain code

Cite As

Alessandro Mannini (2026). Freeman Chain Code (https://www.mathworks.com/matlabcentral/fileexchange/29518-freeman-chain-code), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0