Skip to contents

Distance between two ROIs

Usage

at_roi_distance(roi1, roi2, call = rlang::caller_env(), image = NULL)

Arguments

roi1, roi2

annot_roi objects.

call

The calling environment, for error reporting.

image

annot_image defining actual pyramid dimensions; required for any nonzero ROI level because measurements are reported at level 0.

Value

A numeric scalar distance in level-0 pixels.