Effacer les filtres
Effacer les filtres

Simulink Picture transmitting serial

2 vues (au cours des 30 derniers jours)
Marc Jakubowicz
Marc Jakubowicz le 8 Août 2015
Modifié(e) : Marc Jakubowicz le 11 Août 2015
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

Réponses (1)

Walter Roberson
Walter Roberson le 8 Août 2015
  3 commentaires
Walter Roberson
Walter Roberson le 9 Août 2015
Modifié(e) : Walter Roberson le 9 Août 2015
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 le 11 Août 2015
Modifié(e) : Marc Jakubowicz le 11 Août 2015
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by