Return the pixel dimensions c(width, height) of an annot_image at a
given pyramid level.
Usage
at_dims(x, level = 0L, call = rlang::caller_env())
Arguments
- x
An annot_image.
- level
Integer pyramid level, 0 for full resolution. Must be in
0:(at_n_levels(x) - 1).
- call
The calling environment, for error reporting.
Value
An integer vector of length 2, c(width, height).
See also
at_n_levels(), at_is_pyramidal()
Other images:
annotatR-classes,
at_bands(),
at_example_image(),
at_is_pyramidal(),
at_is_spectral(),
at_meta(),
at_n_bands(),
at_n_levels(),
at_pixel_size(),
at_read_image(),
at_tile(),
at_wavelengths()
Examples
# Image handles come from at_read_image(); see the images vignette.