简体   繁体   中英

JAVA BoofCV method's alternative for Android

I have been using Boof CV libary for Image Stitching and followed this .

I have to convert some Data types and methods to be acceptable in android.

I want an equivalent of this in Android BoofCV

T inputA = ConvertBufferedImage.convertFromSingle(imageA, null, imageType);

Where imageA is a bitmap image.

幸运的是我找到了解决方案

T inputA=ConvertBitmap.bitmapToGray(imageA,null,imageType,null);

Take a look at ConvertBitmap. It contains all the functions you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM