colormap() not working in 2016b

1 vue (au cours des 30 derniers jours)
DEVESH DANGI
DEVESH DANGI le 10 Juin 2018
Commenté : Walter Roberson le 11 Juin 2018
I have the following output:
but I want it to be as shown below:
if someone provides me with the code for this it will be a great help.
Thanks in advance.

Réponses (1)

Von Duesenberg
Von Duesenberg le 10 Juin 2018
I = imread('cameraman.tif');
imshow(I)
colormap jet
  6 commentaires
DEVESH DANGI
DEVESH DANGI le 11 Juin 2018
Modifié(e) : DEVESH DANGI le 11 Juin 2018
Thanks for your replies!!
hey Walter, Two straight question to u. 1. Can I get the same output as I have shown in the picture using MATLAB 2016b?
2. How can I learn Digital image processing?
Walter Roberson
Walter Roberson le 11 Juin 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

Connectez-vous pour commenter.

Catégories

En savoir plus sur White dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by