Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
images.matToImage(mat)这个函数我用不了啊 创建一个mat使用这个函数时直接报错

//这里正常导包 img=images.read("/sdcard/显示.png") mat= img.mat images.matToImage(mat)//这里将mat转成img不报错 //new一个mat 图=new Mat() //处理一次 Imgproc.cvtColor(img.mat, 图, Imgproc.COLOR_BGR2GRAY); images.matToImage(图)//这里传人new出来的mat就报错 //我没有办法把mat对象转成图片,怎么办?