Matlab coder for features extraction

Hi to everyone, currently I face this problem: I need to obtain ( .c ) versions of (extractHOGFeatures(x), extractLBPFeatures(x), rgb2hsv(x), imhist (x) ) functions which exist in computer vision toolbox. Because I need the same output of these Matlab functions to use it in android app. So is Matlab coder will help me?? Is it work well to convert these Matlab functions??

Risposte (3)

Walter Roberson
Walter Roberson il 7 Mar 2016

1 voto

  • extractHOGFeatures - supported
  • extractLBPFeatures - supported
  • rgb2hsv - not supported (no HSV functions supported)
  • imhist - partial support (no display of image for example)
You can find the formula for rgb2hsv over here
Manal Alshehri
Manal Alshehri il 7 Mar 2016

0 voti

thank you very much for your fast response, I am going to download matlab coder and start work with it. I hope that it work well for me.

4 Commenti

Walter Roberson
Walter Roberson il 7 Mar 2016
Modificato: Walter Roberson il 7 Mar 2016
Not many of us can afford to just download MATLAB Coder! It is Mathwork's most expensive toolbox (except possibly Distributed Computing Server for large number of nodes). It is not available to Student Version or Home license, only to Academic, or Professional / Commercial licenses.
my license is student, and I found matlab coder in the add-on product list... So is work for me or may some problem will occure in future
if it is not possible for me to download matlab coder, is there any other suggested solutions??
Interesting, in the new release of R2016a, they made MATLAB Coder and Simulink Coder available as add-ons to Student Version... but they still did not make it available to Home license :(

Accedi per commentare.

Manal Alshehri
Manal Alshehri il 7 Mar 2016

0 voti

i download matlab R2016a and matlab coder, and test it by very small function. matlab coder convert the function very well. then I try to convert extractLBPFeatures and extractHOGFeatures . a lot of errors occurs and I don't understand why. since these two functions are supported by matlab coder as mentioned in
please any body can help me.. I need the exact functions of them which in c code.

2 Commenti

We would need to see the error messages.
thank you very much.. I check the errors and fix them ..the translation done.. but I need to test if it produce the same output of the matlab functions or not...
so I think that I have to install visual studio on my PC to test the generated code.

Accedi per commentare.

Categorie

Scopri di più su MATLAB Coder in Centro assistenza e File Exchange

Richiesto:

il 7 Mar 2016

Commentato:

il 8 Mar 2016

Community Treasure Hunt

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

Start Hunting!

Translated by