How to convert raw byte data from a C# library to an image?
Show older comments
I have a MATLAB application that .NET library embedded into my MATLAB application. One of the functions in the C# library returns an image in a System byte array. I would like take this raw byte data and convert it to an image. The raw data come in byte[] as well as byte[,]. I tried to use the 'NET.createArray' function and the reshape function to convert the image to an image matrix but I'm having trouble.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!