Anderstanding of the frame Format on Android
1) we get the frame in RGBA format via inputFrame.rgba();
2) we must transform to Imgproc.COLOR_RGB2GRAY to process Imgproc methode.
3) We got a destination Mat in output of a lot of method. Witch are in the COLOR_RGB2GRAY
How to come back from Dest output to the RGBA format.
I use
Bitmap bitmap = Bitmap.createBitmap(cols, rows, Bitmap.Config.ARGB_8888);
Utils.matToBitmap(rgba, bitmap);
But if i do Utils.matToBitmap(dst output, bitmap); everything crash.
It would be nice to at least explain the user how transform OpencV format to Android One. It is the minimum.
I hope that i will get the answer. If not there is no use of OpenCV on Android. It is not very clear how to use it. And specially the release method. We do not anderstand why we need to use it.
I am surprise that nobody know how OpencV work on android. Many million of smartphone and OpenCv does not care of Android. I am surprised with this stratégie.
It look like nobody can answer why Java OpenCL on android crash using ARGB_8888
So the question very simple.
Can we use ARGB_8888 with Opencl or not. It lokk like not but it would be nice to be sure.
does openCL support 32 bit format.