필터 지우기
필터 지우기

Simulink Picture transmitting serial

조회 수: 2 (최근 30일)
Marc Jakubowicz
Marc Jakubowicz 2015년 8월 8일
편집: Marc Jakubowicz 2015년 8월 11일
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일
  댓글 수: 3
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.

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

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by