Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

matchTemplate with non-rectangular templ

Is there 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.

matchTemplate with non-rectangular templ

Is there 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.