From: Krishna C on
I have coordinates of pixels on the boundary which are not continuous. Say they are stored in a matrix P of size m-by-2. The points stored in this matrix are sequential but clockwise or counter clock wise.

i want to arrange them in clockwise(CW) or counter clockwise(CCW) along the boundary.

I tried with 'bwboundaries' but it gives all the boundary pixels but i wanted the selected pixels which i extracted to above P in CW or CCW.

kindly anybody help me in sorting this out.

Thanks in advance.
 | 
Pages: 1
Prev: geometric summation in matlab
Next: vrml file