Trinkle23897 / Fast-Poisson-Image-Editing

A fast poisson image editing implementation that can utilize multi-core CPU or GPU to handle a high-resolution image input.

Home Page:https://fpie.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Batch processing

dmonkoff opened this issue · comments

Hello,
Is there any way to process images in batch? So let's say I have three folders, in which dst/src/masks are already rescaled and aligned and I just want to take triplets with the same name, blend them and output it in a separate folder.
I also wonder whether solver reinitialization produces significant overhead if you do it one by one.

It's better not to batch process the core step, i.e., solving equation by iteration, because it itself has applied batch-processing. I agree with you to initialize for solver ahead of time to reduce the overhead.