如何将YUV420格式的图像转成黑白图,转换后还是保留YUV格式,不转换成RGB,相当于只给YUV420去色.最好有java源码段,新手谢谢。
我用这代码,虽然格式没错,但不是全黑白,有杂色,求指正System.arraycopy(data, row*RectWidth, yuvDest, 0, RectWidth*RectHeight);
我用这代码,虽然格式没错,但不是全黑白,有杂色,求指正System.arraycopy(data, row*RectWidth, yuvDest, 0, RectWidth*RectHeight);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货