JAVA Android BoofCV 方法的替代方法
JAVA BoofCV method's alternative for Android
我一直在使用Boof CV libary for Image Stitching and followed this。
我必须转换一些数据类型和方法才能在android中被接受。
我想要 Android BoofCV
中的等效项
T inputA = ConvertBufferedImage.convertFromSingle(imageA, null, imageType);
其中 imageA 是位图图像。
看看 ConvertBitmap。它包含您需要的所有功能。
幸运的是我找到了解决方案
T inputA=ConvertBitmap.bitmapToGray(imageA,null,imageType,null);
我一直在使用Boof CV libary for Image Stitching and followed this。
我必须转换一些数据类型和方法才能在android中被接受。
我想要 Android BoofCV
中的等效项T inputA = ConvertBufferedImage.convertFromSingle(imageA, null, imageType);
其中 imageA 是位图图像。
看看 ConvertBitmap。它包含您需要的所有功能。
幸运的是我找到了解决方案
T inputA=ConvertBitmap.bitmapToGray(imageA,null,imageType,null);