How to pass and access a binary image(BW byte array) as parameters to the c++ shared library containing Matlab functions?
Afficher commentaires plus anciens
I have created a c++ shared library with matlab functions inside, for example:
Matlab function:
function out=mmImresize(Data,ratio) out=imresize(data,ratio); end
c++:
i. e. function:
mmImresize(int nargout, mwArray& output, const mwArray& data, const mwArray& ratio);
How can i pass my BW image to that function, don't know how to convert 2d byte array to mwArray& and vice versa.
Réponses (0)
Catégories
En savoir plus sur Deploy to C++ Applications Using mwArray API (C++03) dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!