Code covered by the BSD License  

Highlights from
Sort Pixel Coordinates

4.75

4.8 | 4 ratings Rate this file 8 Downloads (last 30 days) File Size: 12.55 KB File ID: #4296

Sort Pixel Coordinates

by Alister Fong

 

19 Dec 2003 (Updated 24 Dec 2003)

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.0 (R12)
Other requirements Requires the programs "find_skel_ends" and "plot_circle.m" Look under the author Alister Fong for these programs.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
02 Aug 2004 PC Lim

Of great help!

05 Jan 2005 Egon van den Broek

A nice and simple solution!

24 Feb 2006 Djoe Vandepeeters

Very nice tool!

06 Nov 2006 venus farzam  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image analysis Alister Fong 22 Oct 2008 07:11:29
pixel coordinates sort picture image processing shape Alister Fong 22 Oct 2008 07:11:29

Contact us at files@mathworks.com