Drop an image's runtime pixel handle, calling the backend's close_fn when
it declares one.
Arguments
- x
An annot_image or annot_project.
Value
The image or project with its runtime handle released; assign the result. Later tile requests reopen the image from its source. Releasing a retained pixel snapshot loses those pixels when the source has changed or cannot be reopened. Built-in window readers open a connection per read and hold no persistent connection.
See also
Other images:
at_bands(),
at_dims(),
at_example_image(),
at_hsi_meta(),
at_image_capabilities(),
at_is_pyramidal(),
at_is_spectral(),
at_meta(),
at_n_bands(),
at_n_levels(),
at_pixel_size(),
at_read_image(),
at_tile(),
at_wavelengths(),
hyperannotatR-classes
Other backends:
at_backend_detect(),
at_backend_get(),
at_backend_list(),
at_backend_register(),
at_cubert_export_envi(),
at_image_capabilities(),
at_read_image(),
at_tile(),
at_tivita_profile()
Examples
cube <- at_close_image(at_example_image("cube"))
dim(at_tile(cube, xrange = c(1, 4), yrange = c(1, 4), bands = 1))
#> [1] 4 4 1