Purpose: This tool applied the selected demosaic algorithm to the previous tool's image. That image must be 'pre-demosaic', that is, in the original moasiced format loaded from a raw file. The metadata item LibrawMosaiced will be set to 1; if it is not, this tool will not be applied to the image.
To use it, open a raw file with the input.raw.libraw.rawdata property set to 1 or 'crop', which pre-empts all of the other raw processing and delivers the raw image array for processing. The demosaic tool can then be applied to develop a RGB image from the raw measurements. The available options are:
R | G |
G | B |
Regular demosaic algorithms will interpolate values for the other channels for each R, G, or B measurement; half simply takes the quad of pixels and makes a single RGB pixel. The resulting image is half the size of the original. This implementation of half recognizes all the possible combinations of "4-quads", RGGB, BGGR, GRBG, GBRG.
For each raw image type, bayer or XTRANS, the tool pane will enable only the algorithms that work with the image.
Properties: See tool.demosaic.* in Configuration Properties