Page 1 of 1

DemosaicRGB()

Posted: 29 Dec 2021, 08:29
by bdavid
Hi,

I would like to ask what are the parameters of the Image.Demosaic(nnnn nn).

David

Re: DemosaicRGB()

Posted: 29 Dec 2021, 15:47
by fabdev
Hi, they are in the same order of the DemosaicRGB window, by the way, the best way to get them is:
1) Apply the RGB Demosaic manually to a sample image.
2) On the new color image, open the History and note the 6 parameters (which are: pattern, method, saturation, hot pixels, white balance, bias balance).
As usual, from the History it's possible to create a Macro which will use those 6 parameters.
Fabio.

Re: DemosaicRGB()

Posted: 29 Dec 2021, 16:14
by bdavid
Thank you for your reply! :)