Acute vertex

Perform a heuristic search for sharp angles given an object contour and user specified parameters. The acute (sharp) angles are often associated with object tip points. Outputs a python list of points that meet criteria specified in parameters.

plantcv.acute_vertex(obj, window, thresh, sep, img)

returns list of points that meet specified criteria

Input plant contour

Screenshot

from plantcv import plantcv as pcv

# Set global debug behavior to None (default), "print" (to file), or "plot" (Jupyter Notebooks or X11)

pcv.params.debug = "print"

# Identify acute vertices (tip points) of an object
# Results in set of point values that may indicate tip points
list_of_acute_points = pcv.acute_vertex(obj, 30, 15, 100, img)

Image of points selected

Screenshot