OpenCV template matching and transparency

前端 未结 7 1195
春和景丽
春和景丽 2020-11-29 00:23

What\'s the way OpenCV handles transparency in image during template matching?

The problem is that the template image needs to have transparent parts, because in the

相关标签:
7条回答
  • 2020-11-29 01:16

    I'm not sure, but the transparency channel is treated just like any other channel. If a pixel in a template is "transparent" it should be "transparent" on the main image as well. I'm just guessing here.

    0 讨论(0)
提交回复
热议问题