Effacer les filtres
Effacer les filtres

Image conversion

2 vues (au cours des 30 derniers jours)
Jamuna Jayashri Mahalingam
Jamuna Jayashri Mahalingam le 23 Fév 2012
Modifié(e) : Matt J le 25 Oct 2013
How to convert a binary matrix into RGB image?

Réponse acceptée

Image Analyst
Image Analyst le 23 Fév 2012
rgbImage = uint8(cat(3, binaryImage, binaryImage, binaryImage));
  7 commentaires
Image Analyst
Image Analyst le 5 Mar 2012
What was your exact line? Because I know it works since I've been doing it that way for years.
Jamuna Jayashri Mahalingam
RGB=uint8(cat(3,y,y,y));
y is the binary image

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Blue dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by