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??

Antworten (3)

Walter Roberson
Walter Roberson am 7 Mär. 2016

1 Stimme

  • 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 am 7 Mär. 2016

0 Stimmen

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 Kommentare

Walter Roberson
Walter Roberson am 7 Mär. 2016
Bearbeitet: Walter Roberson am 7 Mär. 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.
Manal Alshehri
Manal Alshehri am 7 Mär. 2016
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
Manal Alshehri
Manal Alshehri am 7 Mär. 2016
if it is not possible for me to download matlab coder, is there any other suggested solutions??
Walter Roberson
Walter Roberson am 7 Mär. 2016
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 :(

Melden Sie sich an, um zu kommentieren.

Manal Alshehri
Manal Alshehri am 7 Mär. 2016

0 Stimmen

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 Kommentare

Walter Roberson
Walter Roberson am 7 Mär. 2016
We would need to see the error messages.
Manal Alshehri
Manal Alshehri am 8 Mär. 2016
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 7 Mär. 2016

Kommentiert:

am 8 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by