openalea.eartrack.eartrack.get_view_angles

openalea.eartrack.eartrack.get_view_angles(binary_img, mask)[source]

Extract interesting view angles from top image

Parameters:
  • binary_img – (numpy array of uint8) representing binary image
  • 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