Effacer les filtres
Effacer les filtres

By using rgb2bind function 512x512x3 image is converted into 512x512 for algorithm implementation.If i have to convert 512x512 image into 512x512x3 image what needs to be done?

3 vues (au cours des 30 derniers jours)
A=imread('airplane.bmp');
[Z,map]=rgb2ind(A,256);
A is 512x512x3 and Z is 512x512.
I want to perform reverse operation.

Réponses (1)

Walter Roberson
Walter Roberson le 10 Jan 2017
A_rebuilt = ind2rgb(Z, map);
  1 commentaire
Jan
Jan le 10 Jan 2017
@Sudeep Albal: This answer looks a kind of trivial. You can find such solutions by reading the "See also" line of the commands.

Connectez-vous pour commenter.

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by