openalea.eartrack.eartrack.get_endpoints

openalea.eartrack.eartrack.get_endpoints(skeleton, center, height)[source]

Look for stem extremities

Try to find the bottom and upper node of the stem in a maize plant :param skeleton: (numpy 2D array of binary uint8) representing the skeleton of side view image of a maize plant :param center: (int) pixel in the width center of the pot (depending on the plateform and the calibration) :param height: (int) pixel in the height top of the pot (depending on the plateform and the calibration) :return: (list of 2 int) pixel of the bottom of the stem

(list of 2 int) pixel of the top of the stem