Read an image into a lightweight annot_image handle, auto-detecting the backend from the file unless one is named.
Usage
at_read_image(path, backend = NULL, ..., call = rlang::caller_env())Value
An annot_image.
See also
Other images:
annotatR-classes,
at_bands(),
at_dims(),
at_example_image(),
at_is_pyramidal(),
at_is_spectral(),
at_meta(),
at_n_bands(),
at_n_levels(),
at_pixel_size(),
at_tile(),
at_wavelengths()
Other backends:
at_backend_detect(),
at_backend_get(),
at_backend_list(),
at_backend_register(),
at_tile()
Examples
img <- at_read_image(at_example_path("tissue"))
at_dims(img)
#> [1] 512 512