Usage
combine(img1, img2, fun = "+", rescale = TRUE, compress = TRUE, gammatype = "None", whitep = "D65", cspace = "Adobe", xmode = "RGB", ...)
Arguments
img1
image, object of class adimpro
img2
image, object of class adimpro, need to have the same dimension as img1
fun
A function or primitive of two (or more) arguments
specifying the operation. The first argument corresponds to
grey/color-values in img1, the second to img2. Auxiliary parameters can passed throug "..."
rescale
logical: if TRUE the resulting image is rescaled
to fit into the range of possible grey/color-values, if FALSE
values outside the range are truncated.
compress
logical, determines if image data are stored in raw-format.
gammatype
character, determines the type of gamma correction within the image.
"ITU" stands for ITU-R BT.709-3 as e.g. used by dcraw. Alternatives recognized
within the package are "None", "sRGB" and "CIE" (CIE L*). Please specify if you know
whitep
White point in xyY space. Can be given as one of (character)
c("A","B","C","E","D50","D55","D65","D75","F2","F7","F11") or as a two element numeric
vector of chromatic xy coordinates. "D65" correspo
cspace
defines the output color space, default "sRGB" (sRGB D65), alternatives are
"RAW" (Camera specific), "Adobe"
(Adobe 1998 D65), "wGamut" (Wide Gamut D65), "kodak" (Kodak ProPhoto D65)
and "XYZ", see manpages of dcraw.
xmode
xmode determines how to interpret the values in x if length(dim(x))==3.
Implemented are xmode="RGB" (default) and xmode="HSI"
...
additional parameters for function fun