I have an image with 4 channels BGRA. I want to check my image if there is value in the 4th channel. Then I want to get values from the area that have value in the 4th channel. I want to get the same image within values from the area that have value in the 4th channel. I want to ignore and make other areas zero.
It's like that: There is a image. some part of image fully transparant. And I want to make zero in transparant area. Because I'll use this image for cv:add method.
I hope you understood.
how can I do like that?