Java API: fixing converters (copyData=true) and samples compilation

Testing: 1079/0/592
This commit is contained in:
Andrey Pavlenko
2011-08-03 11:57:00 +00:00
parent 6935e95c2a
commit fa0daa4809
9 changed files with 33 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
package org.opencv.samples.imagemanipulations;
import org.opencv.Android;
import org.opencv.android.Utils;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.Size;
@@ -135,7 +135,7 @@ class ImageManipulationsView extends SampleCvViewBase {
Bitmap bmp = Bitmap.createBitmap(mRgba.cols(), mRgba.rows(), Bitmap.Config.ARGB_8888);
if (Android.MatToBitmap(mRgba, bmp))
if (Utils.MatToBitmap(mRgba, bmp))
return bmp;
bmp.recycle();