It implements the template matching function from the OpenCV library. The java interface of OpenCV was done through the javacv library. It is quite similar as the existing template matching plugin but runs much faster and users could choose among six matching methods:
2.Normalized squared difference
6.Normalized correlation coefficient
The detailed algorithms could be found here.
The cvMatch_Template will search a specific object (image pattern) over an image of interest by the user-specified method.