PixInsight Forum (historical)

PixInsight => Tutorials and Processing Examples => Tips & Tricks => Topic started by: jwstang31 on 2012 February 27 09:46:43

Title: Batch Median Filter
Post by: jwstang31 on 2012 February 27 09:46:43
Hello,
I have hundreds if not thousands of frames which need a circular median filter applied. Is there a simple way, such as a basic script routine, to open each image from a specific location, apply the filter, save and close?
Title: Re: Batch Median Filter
Post by: Enzo De Bernardini on 2012 February 27 14:23:10
What you need is to create a ImageContainer:

http://www.harrysastroshed.com/Container.html (http://www.harrysastroshed.com/Container.html)

Greetings,

Enzo.
Title: Re: Batch Median Filter
Post by: jwstang31 on 2012 February 29 10:48:13
Thanks Enzo, the ImageContainer is what I needed for multiple images in a single folder. Next I need to figure out how to run the median filter on images in multiple sub-folders, such as a looping script. It does no look like the image container can handle more than one folder at a time.   Any more thoughts would be appreciated!