Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

keeping the alpha channel in transparent image mat

How do you keep an image's transparent background or alpha channel?

i.e., Canny input: .png with existing transparent alpha channel background. I'd like to figure out how to get the latter output instead of the first.

image description

image description