I want to script "sliding window" multi-image processing like this:
in some dialog window
set source catalog (there will be N source images)
set destination catalog
set number of images to co-process (M, M<N)
than
took images 1,2,3, ... , M from source catalog
do some processing on them
write result (single image with name say 0001.fit) to destination catalog
took images 2,3, ... , M, M+1 from source catalog
do some processing on them
write result (single image with name 0002.fit) to destination catalog
.....
and so on until all sequence in source catalog will be processed
Any help and coding examples will be greatly appreciated
Any possible alternate techniques on "sliding window" accepted
thanks in advance