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

(Solved) : 9 Construct Truth Table Following Arguments Indicate Whether Argument Valid Invalid Q29854577 . . . .(Solved) : 9 Construct Truth Table Following Arguments Indicate Whether Argument Valid Invalid Q29854577 . . . .

<p dir="ltr">9.</p><p dir="ltr"><img src="https://media.cheggcdn.com/media%2Fec5%2Fec51e713-4630-4705-9356-720161188e91%2Fimage" alt="media%2Fec5%2Fec51e713-4630-4705-9356-72"/></p><p dir="ltr"/><p dir="ltr">Construct a truth table for each of the followingarguments and indicate whether the argument is valid orinvalid.</p>Show transcribed image text Expert Answer Answer