bytedeco/javacv

How to add a transparent background image to opencv_ core.addWeighted

Open

#1,912 opened on Oct 27, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Java (1,583 forks)batch import
help wantedquestion

Repository metrics

Stars
 (6,985 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

How to add a transparent background image to opencv_ core.addWeighted; At present, transparent parts in transparent pictures are filled with white;
I want to get the reversed color through mat, but I can't find the corresponding method, similar to Core bitwise_ not(coreMask, coreMask);

Contributor guide