This class will always be:
A matrix or a 2/3/4 layer array
It tracks whether the source data was linearized
It carries working colorspace/white
It carries informational exposure/ISO metadata
rayimg(
x = NULL,
filetype = NULL,
source_linear = FALSE,
colorspace = CS_ACESCG,
white_current = colorspace$white_xyz,
exposure = attr(x, "exposure", exact = TRUE),
iso = attr(x, "iso", exact = TRUE)
)An object of class c("rayimg", <original class>) with attributes.
Default NULL. The underlying array/matrix to wrap.
Default NULL. Original source type to record (e.g., "png").
Default FALSE. Whether the original source was linearized.
Default CS_ACESCG. Working space descriptor (see make_colorspace()).
Default colorspace$white_xyz. Current assumed scene/display white (XYZ, Y=1).
Default 0. Informational exposure compensation in stops.
Default 100. Informational ISO value.