Multithreading MatchTemplate

asked 2015-01-11 15:31:57 -0600

JustusW gravatar image

updated 2018-10-06 05:08:06 -0600

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

edit retag flag offensive close merge delete