Results 1 to 3 of 3

Thread: Is there a debayer function in teh script language?

  1. #1

    Is there a debayer function in teh script language?

    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?
    Last edited by rudi; 04 Nov 2018 at 18:06. Reason: Error

  2. #2
    Developer
    Join Date
    Apr 2012
    Posts
    486
    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.

  3. #3
    Thanks Fabio,

    That worked well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •