Simulink Picture transmitting serial
이전 댓글 표시
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

답변 (1개)
Walter Roberson
2015년 8월 8일
0 개 추천
댓글 수: 3
Marc Jakubowicz
2015년 8월 9일
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.
Marc Jakubowicz
2015년 8월 11일
편집: Marc Jakubowicz
2015년 8월 11일
카테고리
도움말 센터 및 File Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!