1 year ago

#334259

test-img

Vidhi V

How can I replace transparent part of image to white in OpenCV C++?

I am trying to erode and dilate images but the images that are getting sent are transparent. So that part is getting replaced by black. I require it to be white.

Also, how do I turn that white part to transparent after eroding or dilating it?

c++

opencv

mat

0 Answers

Your Answer

Accepted video resources