ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 matchTemplate
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Roland Kossow

Germany
4 Posts

Posted - Oct 05 2022 :  17:40:29  Show Profile  Reply
Is it possible to find with ...
rect := image.matchTemplate(templ, TIEVisionTemplateMatchMethod( cmbMethod.ItemIndex ), @rank);
... more than one matching pattern image?

I have an image where template could be inside multiple times and would like to find all instances of template in image.

xequte

7376 Posts

Posted - Oct 06 2022 :  00:00:28  Show Profile  Reply
Hi Roland

It is not presently possible, I'm afraid. But we have added it to the todo list.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Roland Kossow

Germany
4 Posts

Posted - Oct 06 2022 :  01:09:05  Show Profile  Reply
Hi Nigel.
Cool, thanks.
Go to Top of Page

superdev

13 Posts

Posted - Oct 06 2022 :  15:57:52  Show Profile  Reply
In my case, I solved it by temporarily copying the target image I found, then filling the image area with a different color and finding it again.
Go to Top of Page

Roland Kossow

Germany
4 Posts

Posted - Oct 06 2022 :  16:43:03  Show Profile  Reply
Good idea superdev. Anyhow, it would be a good addition Nigel - and probably not that much effort. But, thanks for the idea to workaround the limitation superdev.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: