matchTemplate support for non-rectangular templ (Feature #4141)


Added by Alex Rothberg about 10 years ago. Updated almost 10 years ago.


Status:Done Start date:2015-01-21
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Difficulty: Pull request:

Description

Add some way for matchTemplate to work with a non rectangular templ. For example to use the alpha channel, etc to ignore certain pixels when calculating the score.

The various formulas for scores SHOULD generalize to non-rectangular templates.

see: http://answers.opencv.org/question/53182/matchtemplate-with-non-rectangular-templ/


History

Updated by Yan Wang about 10 years ago

I have added mask support into match template. Please refer to the latest OpenCV master branch. https://github.com/Itseez/opencv/pull/3554

Updated by Vadim Pisarevsky almost 10 years ago

  • Status changed from New to Done

Also available in: Atom PDF