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.

acute_vertex(obj, window, thresh, img, device, debug=None)

returns device, list of points that meet specified criteria

Input plant contour

Screenshot

from plantcv import plantcv as pcv

device = 1

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

Image of points selected

Screenshot