Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i think, you wanted:

Imgproc.cvtColor(mRgba,mRgb,Imgproc.COLOR_RGBA2RGB);

instead of

mRgba.convertTo(mRgb, CvType.CV_8UC3);