Professional Documents
Culture Documents
IMAGES (Only) : Q# 05) What Is The Representation in A MATLAB Colormap For The Color White? What About Black?
IMAGES (Only) : Q# 05) What Is The Representation in A MATLAB Colormap For The Color White? What About Black?
LAB# 09
15-12-2014
IMAGES (Only)
Q# 05) What is the representation in a
MATLAB colormap for the color white? what
about black?
function lab08=question5()
a=imread('minion.jpg');
subplot(2,2,1)
imshow(a);
R=a;
R=a;
R=a;
R(:,:,1)=1;
R(:,:,2)=1;
R(:,:,3)=1;
subplot(2,2,3);
imshow(R);
G(:,:,1)=1;
G(:,:,2)=1;
G(:,:,3)=1;
subplot(2,2,4);
imshow(G)
end
OUTPUT:
12-EE-15
Group: C-1
S&S(Lab)
LAB# 09
15-12-2014
OUTPUT:
12-EE-15
Group: C-1
S&S(Lab)
LAB# 09
15-12-2014
OUTPUT:
12-EE-15
Group: C-1
S&S(Lab)
LAB# 09
15-12-2014
OUTPUT:
12-EE-15
Group: C-1