Page 1 of 1

Demosaic - extracting green channels

Posted: 29 Dec 2023, 05:06
by AndrewP
Hi

The command "Demosaic RGB" allows the user to extract a single colour channel. However for Bayer patterns with 2 green channels, does AA8 sum or average these two or just pick one?

Regards
Andrew

Re: Demosaic - extracting green channels

Posted: 29 Dec 2023, 23:59
by Dunmunro
AndrewP wrote:
29 Dec 2023, 05:06
Hi

The command "Demosaic RGB" allows the user to extract a single colour channel. However for Bayer patterns with 2 green channels, does AA8 sum or average these two or just pick one?

Regards
Andrew
The green channels are combined, but I think this is a function of the debayering process itself.

Re: Demosaic - extracting green channels

Posted: 30 Dec 2023, 00:34
by fabdev
In binning 2x2 (option "Green channel 2x2") they are averaged, and it can be proven this way: using the Edit Pixel window set one of the pixels to 1'000'000 and the resulting pixel will have a value of approx 500'000 (disable temporarily the option Hot Pixels in Demosaic)