Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Multithreading MatchTemplate

To my great surprise MatchTemplate seemingly contains no support for any kind of multithreading. With simple slicing (making 5 parts out of a single image with overlap equal or greater than the search image) time spent per image sometimes straight out halfed, even though 25% more area had to be searched. Is there any way to make a multithreaded matching? Going by the description of the algorithm "The function slides through image" this seems like an absolutely perfect example of an algorithm being threadable.

Regards, Justus

Multithreading MatchTemplate

To my great surprise MatchTemplate seemingly contains no support for any kind of multithreading. With simple slicing (making 5 parts out of a single image with overlap equal or greater than the search image) time spent per image sometimes straight out halfed, even though 25% more area had to be searched. Is there any way to make a multithreaded matching? Going by the description of the algorithm "The function slides through image" this seems like an absolutely perfect example of an algorithm being threadable.

Regards, Justus