openalea.eartrack.eartrack.top_analysis

openalea.eartrack.eartrack.top_analysis(top_binary_img, existing_angles, center_mask)[source]

Top image analysis

Analyse top binary image to determine best side view images allowing to see the stem and find ear :param top_binary_img: (numpy array of uint8) representing binary image :param existing_angles: (list of int) list of existing angle for this snapshot :param center_mask: (numpy array of uint8) mask representing the center of image to know if a leave can be considered as obstructing :return:

(list of int) informative angles of view to analyse (numpy array of uint8) result image for log (string) log to write