colormap() not working in 2016b
1 view (last 30 days)
Show older comments
I have the following output:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191161/image.png)
but I want it to be as shown below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191162/image.png)
if someone provides me with the code for this it will be a great help.
Thanks in advance.
0 Comments
Answers (1)
Von Duesenberg
on 10 Jun 2018
I = imread('cameraman.tif');
imshow(I)
colormap jet
6 Comments
Walter Roberson
on 11 Jun 2018
The code I provided earlier with imagesc() appears to return that upper left picture. I do not have the data for the lower right pictures, and your two lower right pictures appear to be different original images
There are a number of books about digital image processing, which is a common university course. I do not have any to recommend myself, but the Gonzalez and Woods book is considered a classic; https://books.google.ca/books/about/Digital_Image_Processing.html?id=MaYuAAAAQBAJ&source=kp_cover&redir_esc=y
See Also
Categories
Find more on Red 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!