openalea.eartrack.eartrack.ear_detection¶
-
openalea.eartrack.eartrack.
ear_detection
(distances)[source]¶ Look for ear in a stem width curve
Parameters: distances – (list of int) representing distance transform values all along the stem :return: (list of list of 2 int) first value of each 2 int list is a
probable solution, second value is its weight(list of (list of (2 int and one list))) representing parts of distances interpreted as stem (begin, end, [values]) (list of (list of (2 int and one list))) representing parts of distances interpreted as leaves (begin, end, [values]) (list of 2 int), width of stem under ear and upper ear