Sort Pixel Coordinates
Version 1.0.0.0 (12.6 KB) by
Alister Fong
Sorts border pixels of a closed shape in a clockwise or anti-clockwise manner.
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.
Cite As
Alister Fong (2024). Sort Pixel Coordinates (https://www.mathworks.com/matlabcentral/fileexchange/4296-sort-pixel-coordinates), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Shifting and Sorting Matrices in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |