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
 Implementing Mask-Based Pattern Matching in ImageEn/IEVision: Possible?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

superdev

20 Posts

Posted - Sep 26 2024 :  17:12:49  Show Profile  Reply
I manually implemented pattern matching by applying pixel operations with a mask image. However, the performance seems slow. Is it possible to implement this feature using ImageEn or IEVision? Specifically, I want to perform pattern matching by ignoring the black areas of the mask image and only searching the remaining parts. I know that this functionality exists in OpenCV. Any advice on how to achieve similar results with ImageEn or IEVision would be greatly appreciated.




xequte

38496 Posts

Posted - Sep 30 2024 :  17:11:15  Show Profile  Reply
Hi

This is available with our matchTemplateMulti() method. Please see the example at:

http://www.imageen.com/help/TIEVisionImage.matchTemplateMulti.html

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

xequte

38496 Posts

Posted - Sep 30 2024 :  17:55:07  Show Profile  Reply
Note also that if your mask is just transparency (i.e. an image with an alpha channel), you can just use the multiple result overload for the MatchTemplate helper:

http://www.imageen.com/help/TIEBitmapHelper.MatchTemplate.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: