OpenCV bitwise_and + mask

后端 未结 2 629
孤独总比滥情好
孤独总比滥情好 2020-12-18 05:45

I have this mask :

\"mask\"

Let\'s say I would like to make a bitwise_and with another image to fill in

2条回答
  •  無奈伤痛
    2020-12-18 06:20

    just create a new canvas larger than the fox_image

    then use the “AND” method

    or, you can translate the black part of the first image into white: 0 ---255

    then, the problem would be solved.

提交回复
热议问题