Background Subtraction on Stacks w/in Macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Background Subtraction on Stacks w/in Macro

dprosenberg
Hi All,

I am attempting to process a large number of images with a macro that uses "Background Subtract". When done manually, I am prompted as to whether I want to process all of the images in the stack (upon which I select yes). I assumed that the following line should perform the same task within the macro, and the "stack" part of the code below accounted for the fact that I wanted to apply the background subtraction to both slices, yet when I run the macro in batch mode I am prompted to select whether I want to process all of the images in the stack for each image.

Does anyone know how I can bypass this, and why it might be occurring?


run("Subtract Background...", "rolling=35 stack");


Thanks!

Yours,
Danny