DemosaicRGB()

Scripts and programs to automate Astroart
Post Reply
bdavid
Posts: 4
Joined: 01 Jun 2021, 05:23

DemosaicRGB()

Post by bdavid » 29 Dec 2021, 08:29

Hi,

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

David

fabdev
Posts: 461
Joined: 03 Dec 2018, 21:43

Re: DemosaicRGB()

Post by fabdev » 29 Dec 2021, 15:47

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.

bdavid
Posts: 4
Joined: 01 Jun 2021, 05:23

Re: DemosaicRGB()

Post by bdavid » 29 Dec 2021, 16:14

Thank you for your reply! :)

Post Reply