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