Freeman Chain Code

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

View License

[cc] = chaincode(b,u)

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

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 (2024). Freeman Chain Code (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes