Azzera filtri
Azzera filtri

how to convert index image into rgb image

1 visualizzazione (ultimi 30 giorni)
kamarthi vanitha
kamarthi vanitha il 6 Lug 2019
how to convert index image into rgb image
  1 Commento
kamarthi vanitha
kamarthi vanitha il 6 Lug 2019
if i use [X1,cmap]=imread('c09_1.tif');
RGB1 = ind2rgb(X1,cmap);I am getting error as:
Index in position 1 exceeds array bounds.
Error in ind2rgb (line 26)
r = zeros(size(a)); r(:) = cm(a,1);
Error in Script_gray (line 15)
RGB1 = ind2rgb(X1,cmap);
please fix this error

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Tag

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by