i have a question regarding parallel optimization. The actual setup is more cpmplex. Therefore I try to simplify.
I have a reference image and multiple other images. I want to register the other images onto the reference image. The transformations are expected to be different (or weakly coupled).
Now I want to run each registration in parallel. This means I need to start multiple instances of optimizers (can be different optimizer types).
If I want to run the optimizers in parallel what would be the best approach?
The ITK offers three Mutlithreading options:
ThreadedGenerateData() -> This seems to be for single images to be splitted and processed .
itk::DomainThreader -> This seems to be the most feasable option.
itk::MultiThreader -> This might also work but with a lot of overhead code.
Have someone done something like this and could provide some insight?