Matlab function to trace sequential pixel coordinates of all contours in a binary image.
Abhranil Das & Wilson Geisler, Center for Perceptual Systems, The University of Texas at Austin.
Bugs/comments/questions/suggestions to abhranil.das@utexas.edu.
If you use this code, please cite: Camouflage Detection & Signal Discrimination: Theory, Methods & Experiments.
Within Matlab's Home tab, select Add-Ons > Get Add-Ons > Search for 'Trace Contours' and install.
After installation, begin with the Getting Started live script with interactive examples, or, at any time, go to Matlab Home tab > Add-Ons > Manage Add-Ons > click the three dots next to this toolbox > View Getting Started Guide
Type:
doc trace_contours