ROI bounding box
Usage
sg_roi_bbox(roi, call = rlang::caller_env())Arguments
- roi
An sg_roi.
- call
The calling environment, for error reporting.
Examples
sg_roi_bbox(sg_roi_circle(50, 50, 10, label = "a"))
#> [1] 40 40 60 60
ROI bounding box
sg_roi_bbox(roi, call = rlang::caller_env())An sg_roi.
The calling environment, for error reporting.
sg_roi_bbox(sg_roi_circle(50, 50, 10, label = "a"))
#> [1] 40 40 60 60