Matlab coder for features extraction

1 view (last 30 days)
Manal Alshehri
Manal Alshehri on 7 Mar 2016
Commented: Manal Alshehri on 8 Mar 2016
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??

Answers (3)

Walter Roberson
Walter Roberson on 7 Mar 2016
  • 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 on 7 Mar 2016
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 Comments
Manal Alshehri
Manal Alshehri on 7 Mar 2016
if it is not possible for me to download matlab coder, is there any other suggested solutions??
Walter Roberson
Walter Roberson on 7 Mar 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 :(

Sign in to comment.


Manal Alshehri
Manal Alshehri on 7 Mar 2016
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 Comments
Walter Roberson
Walter Roberson on 7 Mar 2016
We would need to see the error messages.
Manal Alshehri
Manal Alshehri on 8 Mar 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.

Sign in to comment.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!