colormap() not working in 2016b

조회 수: 2(최근 30일)
DEVESH DANGI
DEVESH DANGI 2018년 6월 10일
댓글: Walter Roberson 2018년 6월 11일
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.

답변(1개)

Von Duesenberg
Von Duesenberg 2018년 6월 10일
I = imread('cameraman.tif');
imshow(I)
colormap jet
  댓글 수: 6
Walter Roberson
Walter Roberson 2018년 6월 11일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by