09-26-2023 05:15 PM
Hello,
I have a pattern matching program (attached) and it is looking for "Template" in the "Image". The issue is it is not able to find the bigger cross sign since the template image was taken from one of the smaller cross from the "Image". Is there a way to update the program so it locates all the cross signs regardless of its dimension/size and orientation?
Thanks
VeMo
09-26-2023 07:01 PM
Regular pattern matching does not allow for scaling changes and will not find items at a different scale from the template.
Geometric pattern matching does allow you to specify a scaling range when setting up the search. It should work well for this scenario.
Bruce
09-27-2023 04:12 PM
Hi Bruce,
I updated the program as per your suggestion and it works in the same way as regular pattern matching program worked but when I put scale invariant range for program to find same template image by making it bigger or smaller, it is giving me some kind of error ("the template descriptor does not contain data required for scale-invariant matching"). I tried different things but nothing worked, the only thing is if I turn off the scale factor then it works as usual but does not find bigger cross. Would you happen to know what is the issue?
Thanks
09-27-2023 09:04 PM
I would guess there is an option in the training of the template for scale invariant. I haven't used it much so I don't know the details.
Bruce
09-28-2023 01:12 AM
Okay thank you. I will try to find more information on it.
I will see if somebody else has any other information on discussion forums here.