Lots of photo editing workflows could be done in something like digital fusion which is free. You just have to use roto instead of painting masks, but the procedural graph workflow is more precise. It would also handle anything in a numbered sequence automatically so batch processing is trivial.