Displaying gif Image in Matlab
9 views (last 30 days)
Show older comments
I have a .gif image in my directory. When I open it there is a variable 'cdata' with the pixel data and a variable 'colormap' with the colour map.
I want to display the image, but when I type
image(cdata)
The colours are wrong. I tried setting the colormap using
colormap('colormap')
But this still didn't work.
0 Comments
See Also
Categories
Find more on Blue in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!