Matlab coder for features extraction

1 次查看(过去 30 天)
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??

回答(3 个)

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

请先登录,再进行评论。


Manal Alshehri
Manal Alshehri 2016-3-7
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 个评论
Walter Roberson
Walter Roberson 2016-3-7
We would need to see the error messages.
Manal Alshehri
Manal Alshehri 2016-3-8
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by