How to convert code using Image Processing Tool Box to Java for the use of Android?

5 vues (au cours des 30 derniers jours)
I have written code in Matlab using Image Processing Toolbox for the purpose of compression technique...Now I want to know any procedure of converting it into Java Package for Android use.How to package it and deploy it??Thanks in advance for any help..

Réponse acceptée

Subin Kuttappan Stellal Mary
One way to achieve this is by following the below steps :
1. Convert the MATLAB code that you have written into C code. This can be achieved by using MATLAB Coder toolbox.
Note: The in-built MATLAB functions used in your code must be supported for C/C++ code generation. For the list of MATLAB functions that are supported for code generation, refer this link .
2. Build this C code to a .so library.
3. Create a new Android project in Android Studio . From the base JAVA code of the sample application, call the C functions present in the .so file through JNI(Java Native Interface).
For more details on JNI, refer this and this .
  2 commentaires
Muhammad Usman Aslam
Muhammad Usman Aslam le 12 Juil 2018
Brother can i get the tutorial for this work ?
Suvitha Palani
Suvitha Palani le 26 Déc 2020
Hi, can i get tutorial for this question?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Setup and Configuration dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by