简体   繁体   English

JAVA BoofCV方法的Android替代品

[英]JAVA BoofCV method's alternative for Android

I have been using Boof CV libary for Image Stitching and followed this . 我一直在使用Boof CV libary进行图像拼接,并遵循了这个步骤

I have to convert some Data types and methods to be acceptable in android. 我必须将某些数据类型方法转换为Android可接受的数据

I want an equivalent of this in Android BoofCV 我想要在Android BoofCV中做到这一点

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

Where imageA is a bitmap image. 其中imageA是位图图像。

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

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

Take a look at ConvertBitmap. 看一下ConvertBitmap。 It contains all the functions you need. 它包含您需要的所有功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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