Hi,
I am writing a script, that processes a bunch of fits files. They need to be saved as *.png.
Since the fits files originates from a Canon DSLR, I need to debayer the fits before saving as png.
Is that possible with AA7 scripting?
Is there a debayer function in teh script language?
-
- Posts: 263
- Joined: 17 Dec 2018, 14:45
-
- Posts: 263
- Joined: 17 Dec 2018, 14:45
Re: Is there a debayer function in teh script language?
Hi,
not directly.
You could enable the option "Demosaic on load" so that the images are demosaiced when you open them with the command: Image.Open
If this is a single task, another solution is to convert (and debayer) all your images to FITS before running the script, using the option "Save all images" of Preprocessing.
not directly.
You could enable the option "Demosaic on load" so that the images are demosaiced when you open them with the command: Image.Open
If this is a single task, another solution is to convert (and debayer) all your images to FITS before running the script, using the option "Save all images" of Preprocessing.
-
- Posts: 263
- Joined: 17 Dec 2018, 14:45
Re: Is there a debayer function in teh script language?
Thanks Fabio,
That worked well.
That worked well.