How to process image data when they are in Binary format? (MATLAB for embedded C applications)

Status
Not open for further replies.

chandlerbing65nm

Member level 5
Joined
Apr 5, 2018
Messages
80
Helped
0
Reputation
0
Reaction score
1
Trophy points
8
Activity points
709
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!
 
Last edited:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…