Effacer les filtres
Effacer les filtres

how to covert Gray-scale video into RGB video

6 vues (au cours des 30 derniers jours)
syscon
syscon le 27 Août 2014
Commenté : Ank le 28 Août 2014
Dear friends, For the fast performance i had converted the video into Gray-scale format. now. In my project i need to show the output in RGB (true color) after the object detection process. Kindly share any close idea related to this .

Réponses (1)

Image Analyst
Image Analyst le 27 Août 2014
Do you want to know how to make a movie from a series of gray scale image? Where is the color coming from? Are you adding graphics or something?
  3 commentaires
Image Analyst
Image Analyst le 28 Août 2014
Modifié(e) : Image Analyst le 28 Août 2014
I did not understand the answer and don't have my questions answered. But anyway, to convert a grayscale image to color, you can do this:
rgbImage = cat(3, grayImage, grayImage, grayImage);
or this;
rgbImage = ind2rgb(grayImage, someColorMap);
And I don't know why Simulink is in the product list or tags list.
Ank
Ank le 28 Août 2014
I guess after your processing instead of overlaying tracking blobs on the gray scale image do it directly on your RGB image that you already have it. It solves your problem right?

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