Create an elliptical Region of Interest (ROI)

plantcv.roi.ellipse(x, y, r1, r2, angle, img)

returns roi_contour, roi_hierarchy

Reference Image

Screenshot

from plantcv import plantcv as pcv

roi_contour, roi_hierarchy = pcv.roi.ellipse(x=200, y=200, r1=100, r2=80, angle=0, img=rgb_img)

Screenshot