Hello,
I wrote a script to perform Background Extraction on CFA images.
The goal was to remove gradient on each calibrated sub and still use Bayer Drizzle as integration method.
The script is very straightforward, it starts with a SplitCFA then applies a BackgroundExtraction (ABE or DBE) on each CFA channel, then re-create a CFA image with MergeCFA and finally replace the original CFA image with the new one in order to keep its FITS header.
The script applies an ABE by default but one can select an ABE or DBE process icon to use for background extraction.
The script can process a single view or multiple images if fed by an Image Container.
This is my first script, it surely needs some correction and/or optimisation.
Many thanks to Roberto Sartori and its "Introduction To PixInsight Scripting" video without which I would never have been able to write this script.
I wrote a script to perform Background Extraction on CFA images.
The goal was to remove gradient on each calibrated sub and still use Bayer Drizzle as integration method.
The script is very straightforward, it starts with a SplitCFA then applies a BackgroundExtraction (ABE or DBE) on each CFA channel, then re-create a CFA image with MergeCFA and finally replace the original CFA image with the new one in order to keep its FITS header.
The script applies an ABE by default but one can select an ABE or DBE process icon to use for background extraction.
The script can process a single view or multiple images if fed by an Image Container.
This is my first script, it surely needs some correction and/or optimisation.
Many thanks to Roberto Sartori and its "Introduction To PixInsight Scripting" video without which I would never have been able to write this script.