Create a transparent Mat in Android
Hi,
I'm trying to create a transparent mat but somehow the alpha channel doesn't work right. This is what I'm doing right now:
Mat retFrame = new Mat(rows, cols, CvType.CV_8UC3, new Scalar(255,255, 255, 0));
I tried it with all kinds of alpha values Thanks!
again alpha makes only sense when compositing 2 images.
opencv, being mainly a computer-vision library, has no builtin support for this.