develop.raw {adimpro} | R Documentation |
Create a color image from RAW image data.
Description
The function generates a color image from RAW image data.
Usage
develop.raw(object, method = "BILINEAR", wb = c(1, 1, 1), maxrange= TRUE, compress = TRUE)
Arguments
object |
An object of class |
method |
Method to fill missing color values. Currently implemented are |
wb |
numerical vector of length 3 containing multiplicative factors for the three color channels. |
maxrange |
If TRUE increase range of values to maximum. |
compress |
logical, determines if image data are stored as |
Details
RAW image data usually contain only one color value at each pixel, with colors arranged in a so called Bayer mask. Converting RAW images into color images requires to fill the missing entries in the color channels.
Value
object of class "adimpro" containing the image.
Note
The function requires dcraw to be installed.
Author(s)
Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de
See Also
Examples
## Not run: demo(io)
## Not run: demo(raw)