1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

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
@@ -1,6 +1,6 @@
package org.opencv.samples.tutorial4;
import org.opencv.Android;
import org.opencv.android.Utils;
import org.opencv.core.Mat;
import org.opencv.core.CvType;
import org.opencv.imgproc.Imgproc;
@@ -56,7 +56,7 @@ class Sample4View extends SampleViewBase {
Bitmap bmp = Bitmap.createBitmap(getFrameWidth(), getFrameHeight(), Bitmap.Config.ARGB_8888);
if (Android.MatToBitmap(mRgba, bmp))
if (Utils.MatToBitmap(mRgba, bmp))
return bmp;
bmp.recycle();