Borrar filtros
Borrar filtros

I need to convert my gif from black and white to RGB in MatLab.

1 visualización (últimos 30 días)
Thomas P
Thomas P el 14 de Abr. de 2015
Respondida: Image Analyst el 14 de Abr. de 2015
Using a code found on this website, I was able to use a gif in MatLab, now i need make it in color. I used the coding below to initially use it, now I need color. Note: MK.gif is the file's name.
clear all;clc; %cleans the record
acc= 'MK.gif'
[gifImage cmap] = imread(acc, 'Frames', 'all');
size(gifImage)
implay(gifImage);
Any Ideas?

Respuestas (1)

Image Analyst
Image Analyst el 14 de Abr. de 2015
rgbImage = ind2rgb(gifImage, cmap);

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by