Fiji Substract background macro

Hi there,
I am trying to perform the Background Substraction using macros on videos but it perform it only on the first image of the video. Have you got a advice?
Here is my macro line: run(“Subtract Background…”, “rolling=20”);

1 Like

Hey @Babouche,

could you please try

run(“Subtract Background…”, “rolling=20 stack”);

Furthermore, if a filter doesn’t work, consider recording the command again, by turning on the Macro recorder using the menu Plugins > Macro > Record and executing the operation you want to use again. Then check what’s recorded :wink:

Let me know if it works!

Cheers,
Robert

1 Like

Thanks Robert, it works super well !
So cool to have fast and effective answers !
Cheers,
Angel

1 Like