According to the previous question How can I find ROI and detect markers inside, thank you for professional who’s help me. I have already done that task. 🙂
My next question that related with previously,
Now I would like to track each blob individually by call the detecting function (named track(param)) with different parameters (as blobs number) in same time then functions will return me the output of blob position.
Which techniques that can I execute same function in the same time?
I have confused about OpenMP, OpenCL and some parallel programming that possible to return output on the same time or not?
Sorry for poorly in English. Thank you for all of helpers 🙂
It sounds to me like you just need multi-threading, which can be done by a library such as Boost Thread. You can spawn multiple threads to track each blob. You can then use join in the end to ensure all threads are completed and combine the results