javacv icon indicating copy to clipboard operation
javacv copied to clipboard

The color of the image changes after compositing with addweighted

Open CJL6015 opened this issue 2 years ago • 4 comments

I use the addweighted function to synthesize 2 image, but the color of the synthesized image has changed from the previous image.

CJL6015 avatar Jul 04 '22 07:07 CJL6015

How can I get the mat of the fourth channel?

CJL6015 avatar Jul 04 '22 11:07 CJL6015

You mean something like the split() function?

saudet avatar Jul 04 '22 12:07 saudet

Yes, I got an error using split.

CJL6015 avatar Jul 04 '22 12:07 CJL6015

What error do you get when calling split()?

saudet avatar Jul 16 '22 12:07 saudet