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
Walter Roberson 2015년 8월 8일

0 개 추천

댓글 수: 3

Marc Jakubowicz
Marc Jakubowicz 2015년 8월 9일
The size of the image is 128x160 =20480 pixels :-)
RRR.....>20k
VVV.... >20k
BBB.... >20k
Walter Roberson
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
Marc Jakubowicz 2015년 8월 11일
편집: Marc Jakubowicz 2015년 8월 11일
R = pixel RED
V(vert in french) = G pixel Green
B =pixel blue
My scheme works to display in gray. I would like to display in color.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기

질문:

2015년 8월 8일

편집:

2015년 8월 11일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by