Skip to contents

Stack per-layer masks into a 3D array

Usage

at_mask_stack(project, layers = NULL, level = 0L, call = rlang::caller_env())

Arguments

project

An annot_project.

layers

Optional layer name(s) to include; all by default.

level

Integer pyramid level. Default 0.

call

The calling environment, for error reporting.

Value

A 3D integer array [y, x, layer], one multi-class plane per layer; the third dimension is named by layer.