answered Apr 10 '13
The number of matches are defined or they are variable? If they are limit and you know exactly the number of matches , you can choose the specific variable for each of them and use minMaxLoc for all of them one by one.