PixInsight Forum (historical)

PixInsight => General => Topic started by: gagaboul on 2020 February 20 07:57:45

Title: Generate bin2 (rgb or mono) from a pixinsight process/script
Post by: gagaboul on 2020 February 20 07:57:45
Is it possible to use one of the available processes or script in Pixinsight to generate a synthetic bin2+ from bayered subs ?
I can use PIPP to do that but it is limited to grayscale (adjacent pixel combined to a luminance) and would like to use Pixinsight interface alltogether.

Otherwise, I could try to create my first script  O:) ..if that's the case, could I have some pointers to do it. I'm a profesional programmer and know Javascript very well or C++.
Title: Re: Generate bin2 (rgb or mono) from a pixinsight process/script
Post by: pfile on 2020 February 20 08:34:57
do you want to produce 4 greyscale images, R G G and B? or the integration of those 4 greyscale images?

rob
Title: Re: Generate bin2 (rgb or mono) from a pixinsight process/script
Post by: gagaboul on 2020 February 24 14:57:49
I want to take a sub that has not been debayered (a grayscale image with a bayer pattern) and apply a bin2 that will add adjacent pixels of the same color to combine brightness between colors, so that it does not turn into a luminance grayscale.
Title: Re: Generate bin2 (rgb or mono) from a pixinsight process/script
Post by: Cosmick on 2020 February 25 00:37:52
I want to take a sub that has not been debayered (a grayscale image with a bayer pattern) and apply a bin2 that will add adjacent pixels of the same color to combine brightness between colors, so that it does not turn into a luminance grayscale.

Under Process > ColourSpaces (or All Processes) > SplitCFA

This will give you 1 x red, 2 x green and 1 x blue channel half the resolution of the original CFA image. Which colours the channels correspond to is dependent on the bayer pattern of your camera.