Question
2) In each of the following imshow calls, what kinds of images it will display. i=imread('image.jpg'); //assume image.jpg is rgb image. x=i(:,:,1); y=i(:,:,2); z=i(:,:,3);
2) In each of the following imshow calls, what kinds of images it will display. i=imread('image.jpg'); //assume image.jpg is rgb image. x=i(:,:,1); y=i(:,:,2); z=i(:,:,3); figure, imshow(x); figure, imshow(y); figure, imshow(z); j=i; j(:,:,2)=0; j(:,:,3)=0; figure, imshow(j); k=i; k(:,:,1)=0; k(:,:,3)=0; figure, imshow(k); m=i; m(:,:,1)=0; m(:,:,2)=0; figure, imshow(m);
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Macroeconomics
Authors: Robert J Gordon
12th edition
138014914, 978-0138014919
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App