Filter löschen
Filter löschen

Image conversion

2 Ansichten (letzte 30 Tage)
Jamuna Jayashri Mahalingam
Jamuna Jayashri Mahalingam am 23 Feb. 2012
Bearbeitet: Matt J am 25 Okt. 2013
How to convert a binary matrix into RGB image?

Akzeptierte Antwort

Image Analyst
Image Analyst am 23 Feb. 2012
rgbImage = uint8(cat(3, binaryImage, binaryImage, binaryImage));
  7 Kommentare
Image Analyst
Image Analyst am 5 Mär. 2012
What was your exact line? Because I know it works since I've been doing it that way for years.
Jamuna Jayashri Mahalingam
Jamuna Jayashri Mahalingam am 10 Mär. 2012
RGB=uint8(cat(3,y,y,y));
y is the binary image

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by