Azzera filtri
Azzera filtri

Image conversion

2 visualizzazioni (ultimi 30 giorni)
Jamuna Jayashri Mahalingam
Modificato: Matt J il 25 Ott 2013
How to convert a binary matrix into RGB image?

Risposta accettata

Image Analyst
Image Analyst il 23 Feb 2012
rgbImage = uint8(cat(3, binaryImage, binaryImage, binaryImage));
  7 Commenti
Image Analyst
Image Analyst il 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

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by