Simulink Picture transmitting serial
2 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147867/image.gif)
0 个评论
回答(1 个)
Walter Roberson
2015-8-8
3 个评论
Walter Roberson
2015-8-9
编辑:Walter Roberson
2015-8-9
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!