Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Image Background Transparency - OpenCV

Hi, I'm using this code to make image background transparent, but i'm not getting the background transparent. Imgproc.warpAffine(targetMat, resultMat, rotImage, targetSize, Imgproc.INTER_CUBIC, Imgproc.BORDER_TRANSPARENT,new Scalar(255,255,255,0));

Image Background Transparency - OpenCV

Hi, I'm using this code to make image background transparent, but i'm not getting the background transparent. Imgproc.warpAffine(targetMat, resultMat, rotImage, targetSize, Imgproc.INTER_CUBIC, Imgproc.BORDER_TRANSPARENT,new Scalar(255,255,255,0));Scalar(255,255,255,0)); image description

Image Background Transparency - OpenCV

Hi, I'm using this code to make image background transparent, but i'm not getting the background transparent. Imgproc.warpAffine(targetMat, resultMat, rotImage, targetSize, Imgproc.INTER_CUBIC, Imgproc.BORDER_TRANSPARENT,new Scalar(255,255,255,0)); image description

Image Background Transparency - OpenCV

Hi, I'm using this code to make image background transparent, but i'm not getting the background transparent. transparent.

Imgproc.warpAffine(targetMat, resultMat, rotImage, targetSize, Imgproc.INTER_CUBIC,  Imgproc.BORDER_TRANSPARENT,new Scalar(255,255,255,0));

image description

Image Background Transparency - OpenCV

Hi, I'm using this code to make image background transparent, but i'm not getting the background transparent.

Imgproc.warpAffine(targetMat, resultMat, rotImage, targetSize, Imgproc.INTER_CUBIC,        
Imgproc.BORDER_TRANSPARENT,new Scalar(255,255,255,0));

image description