File Exchange

image thumbnail

Sort Pixel Coordinates

version 1.0 (12.6 KB) by

Sorts border pixels of a closed shape in a clockwise or anti-clockwise manner.



View License

Given the pixel coordinates of the border of an arbitrary shape, this program can sort it in a clockwise or anti-clockwise order regardless of it being 4 or 8 connected.

Comments and Ratings (5)

works to slow for actual image
test not working missing functions

venus farzam

Djoe Vandepeeters

Very nice tool!

Egon van den Broek

A nice and simple solution!

PC Lim

Of great help!

MATLAB Release
MATLAB 6.0 (R12)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today