chandlerbing65nm
Member level 5
Hello Folks,
Update: Title should be "
How to process image data when they are in Binary format? (MATLAB for embedded C applications)"
I have a MATLAB code that is intended for embedded hardware. The MATLAB code is about Image Classification which will be deployed in STM32 (uC, not the Discovery board) using C code generator.
This is the simple block diagram of my architecture:
The image that will be captured by the camera in Arduino is at [480, 640] pixels (RGB) which will be saved into the external shared flash memory. Then, the STM32 will retrieve the image in the shared flash memory (jpg image in binary).
My problem is, how can I process the binary data in MATLAB such that I can resize the image to [25, 25] pixels and turn the image into grayscale?
If someone is knowledgeable on this, please help. Thanks!
Update: Title should be "
How to process image data when they are in Binary format? (MATLAB for embedded C applications)"
I have a MATLAB code that is intended for embedded hardware. The MATLAB code is about Image Classification which will be deployed in STM32 (uC, not the Discovery board) using C code generator.
This is the simple block diagram of my architecture:
The image that will be captured by the camera in Arduino is at [480, 640] pixels (RGB) which will be saved into the external shared flash memory. Then, the STM32 will retrieve the image in the shared flash memory (jpg image in binary).
My problem is, how can I process the binary data in MATLAB such that I can resize the image to [25, 25] pixels and turn the image into grayscale?
If someone is knowledgeable on this, please help. Thanks!
Last edited: