AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

ExhaustiveTemplateMatching patch

Forum to discuss the AForge.NET project itself (not Framework), its news, events, articles, etc.

ExhaustiveTemplateMatching patch

Postby davladus » Thu Mar 14, 2013 3:00 pm

Dear all,
See my suggestions for ExhaustiveTemplateMatching class improvement in the attachment.
The main idea is to stop iterating over template image in case difference threshold is exceeded.
That provides valuable performance improvement for large images.
I have attached a random test for the class also.

Regards,
Vladimir.
Attachments
ExhaustiveTemplateMatchingPatch.zip
(2.74 KiB) Downloaded 867 times
davladus
 
Posts: 1
Joined: Thu Mar 14, 2013 2:43 pm

Re: ExhaustiveTemplateMatching patch

Postby andrew.kirillov » Thu Mar 14, 2013 3:14 pm

Hello Vladimi,

Thank you for the patch. It makes perfect sense. Will merge it into trunk.

P.S. Patches are submitted as "Contribution" tickets usualy (in this project).
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3443
Joined: Fri Jan 23, 2009 9:12 am
Location: UK




Return to AForge.NET

cron