Simulink Picture transmitting serial
Show older comments
Hello,
I transmit by a serial link an picture The display of the black and white picture works.
To display color would require me to send in this form. ..... RGB RGB RGB (Red Green Blue)
The "Picture From File" transmits data in this form: RRR ... GGG... BBB ...
How to go from RGB RGB RGB ... RRR ... GGG ... BBB?
Thank you

Answers (1)
Walter Roberson
on 8 Aug 2015
0 votes
3 Comments
Marc Jakubowicz
on 9 Aug 2015
Walter Roberson
on 9 Aug 2015
Edited: Walter Roberson
on 9 Aug 2015
The size of the image is 128 x 160 x 3.
I do not know what your RRR or VVV or BBB signifies ?
Your model shows the three layers being mixed down to a single layer: it is rgb2gray() but with different weightings than usual. Your model does not try to transmit color.
Marc Jakubowicz
on 11 Aug 2015
Edited: Marc Jakubowicz
on 11 Aug 2015
Categories
Find more on Import, Export, and Conversion 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!