Page 1 of 1

Using a mask within a script

Posted: 05 Dec 2024, 18:29
by cardanoc
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