0

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.

Evaldas Buinauskas
  • 13,739
  • 11
  • 55
  • 107
danish.ahmad
  • 135
  • 1
  • 8
  • how did you manage to import `BufferedImage`? I'm also following the same example but my IDE complaints that `BufferedImage` is not found – user1865027 Apr 28 '17 at 00:01

2 Answers2

1

Luckily I found the solution

T inputA=ConvertBitmap.bitmapToGray(imageA,null,imageType,null);
danish.ahmad
  • 135
  • 1
  • 8
0

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

lessthanoptimal
  • 2,722
  • 2
  • 23
  • 25