Using a mask within a script

Scripts and programs to automate Astroart
Post Reply
cardanoc
Posts: 22
Joined: 13 Feb 2019, 16:33

Using a mask within a script

Post by cardanoc » 05 Dec 2024, 18:29

Hi

I have a bunch of solar images that I would like to process. I created an inverted mask for the solar surface. With this mask, I can apply a histogram stretch to the image in order to bring out the solar prominence.

I have many images to process and I would like to do all of this in a script.

I can figure out how to open/save an image in the script, but I cannot figure out how to open the mask for the purpose of applying the histogram stretch.

Has anyone done this? Can it be done? if so, how?

Thank you,

Conrad Cardano
Dye Hill Observatory

Post Reply