Returns the point coordinates x and y from a contour c (see Matlab function "contourc") into vectors X and Y. A contour c is defined by:

c = [contour1 x1 x2 x3 ...  contour2 x1 x2 x3 ...;
  #number_of_pairs y1 y2 y3 ...  #number_of_pairs y1 y2 y3 ...]'

“hull_tree” can for example produce such a contour and this can be used to describe the spanning field of a neuronal tree in the construction process.

Example:

>> [X, Y] = cpoints (c); plot (X, Y, 'k.');

TREES

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License