Create an elliptical ROI
Usage
at_roi_ellipse(
x,
y,
rx,
ry,
rotation = 0,
label,
level = 0L,
n_seg = 64L,
...,
call = rlang::caller_env()
)Arguments
- x, y
Numeric centre coordinates in image pixels.
- rx, ry
Positive numeric semi-axis lengths in pixels.
- rotation
Rotation of the major axis in degrees, clockwise in image orientation. Default
0.- label
Single string class label.
- level
Integer pyramid level the coordinates refer to. Default
0.- n_seg
Integer number of polygon segments approximating the ellipse.
- ...
Additional named attributes stored on the ROI. The reserved names
author,source, andidset those fields; all others become user attributes.- call
The calling environment, for error reporting.
Value
An annot_roi with POLYGON geometry.