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

Answers (3)

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

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 :(

Sign in to comment.

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

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.

Sign in to comment.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Asked:

on 7 Mar 2016

Commented:

on 8 Mar 2016

Community Treasure Hunt

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

Start Hunting!