📄 s029.m
字号:
% rgb图像转换为hsv图像,再真彩显示 s029
I29=imread('1.jpg');
I290=rgb2hsv(I29);
I291=1-I290(:,:,1);
subplot(3,3,1),imshow(cat(3,I290(:,:,1),I290(:,:,2),I290(:,:,3)));
subplot(3,3,2),imshow(cat(3,I290(:,:,1),I290(:,:,3),I290(:,:,2)));
subplot(3,3,3),imshow(cat(3,I290(:,:,2),I290(:,:,1),I290(:,:,3)));
subplot(3,3,4),imshow(cat(3,I290(:,:,2),I290(:,:,3),I290(:,:,1)));
subplot(3,3,5),imshow(cat(3,I290(:,:,3),I290(:,:,1),I290(:,:,2)));
subplot(3,3,6),imshow(cat(3,I290(:,:,3),I290(:,:,2),I290(:,:,1)));
subplot(3,3,7),imshow(cat(3,I290(:,:,1),I290(:,:,2),I290(:,:,3)));
subplot(3,3,8),imshow(cat(3,I290(:,:,1),I290(:,:,2),I290(:,:,3)));
subplot(3,3,9),imshow(cat(3,I290(:,:,1),I290(:,:,2),I290(:,:,3)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -