Skip to main content
. 2017 Jan 11;7:2057. doi: 10.3389/fpls.2016.02057

Algorithm 1.

Classification strategy (leaves 1 and 2 are the cotyledons).

1:  Track leaf 1 (randomly out of the two leaves found on day 1) for all days.
2:  Look for leaf 2 in direction d1 + 180° and track it.
3:  Look for leaf 3 in directions such that |d3d1| > 60° and |d3d2| > 60° and track it.
4:  Look for leaf 4 in direction d3 + 180° and track it.
5:  Track the 5th leaf to appear, whatever its growth direction.
6:  Shuffle leaves 1 and 2 so that leaf 1 is closest to leaf 5 (convention).
7:  Shuffle leaves 3 and 4 so that leaf 3 is closest to leaf 5 (beginning of phyllotaxy).
8:  for j ≥ 1 do
9:         Look for leaf 5 + j in direction d5+j sign(d5d4) dp and track it.
10:  end for