read_exr {picohdr} | R Documentation |
Currently only single-part scanline images are supported (where the compression is one of NONE, ZIP or ZIPS).
read_exr(filename, verbosity = 0)
filename |
EXR filename or connection |
verbosity |
Level of debugging output. Default: 0 (no debugging output) |
Numeric array with names along the third dimension. Each plane in the array corresponds to a channel in the EXR.
filename <- system.file("image/rstats.exr", package = "picohdr")
images <- read_exr(filename)
dimnames(images)[[3]]
# Naively adjust one of the images for display
im <- adj_rescale(images[, , 'dzdy'], lo = 0, hi = 1)
plot(im)