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 ExchangeMATLAB についてさらに検索

質問済み:

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