Plot an image
Usage
at_plot_image(
img,
level = NULL,
bands = NULL,
rgb = NULL,
max_dim = 1024L,
call = rlang::caller_env()
)Arguments
- img
An annot_image.
- level
Pyramid level to display; chosen automatically when
NULL.- bands
Optional band index for single-band display.
- rgb
Optional length-3 vector of band indices, or wavelengths in nm for a spectral cube, for a false-colour composite.
- max_dim
Maximum display dimension (auto-downsampled). Default
1024.- call
The calling environment, for error reporting.
Value
A ggplot2::ggplot object.
See also
Other plots:
at_plot(),
at_plot_mask(),
at_plot_overlay(),
at_plot_project(),
at_plot_spectrum(),
at_plot_summary()
Examples
at_plot_image(at_example_image("tissue"))