Course Solutions Uncategorized (Solved) : Images Use Colormap Gray Load Image Coffeejpg Matrix View Imagesc Use Matlab Solve Problem Q31044147 . . . .

(Solved) : Images Use Colormap Gray Load Image Coffeejpg Matrix View Imagesc Use Matlab Solve Problem Q31044147 . . . .

 

For all images use colormap(gray)
a) Load the image coffee.jpg into matrix A and view it withimagesc.

use Matlab to solve the problem.

the coffee.jpg is the a picture with 3024x4032x3 uint8

i use code

A = imread(‘coffee.jpg’);
f1 = figure;
imagesc(A);
colormap(‘gray’);

but i still get a colorful picture

i need it after imagesc(A)

it will show a gray picture

thank you

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post