⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 12-7.m

📁 matlab图像处理源码
💻 M
字号:
I = imread('rice.tif'); 
J = imdivide(I,2);
%图像除法运算图像
K1=bitand(I,J);
subplot(321),imshow(K1)
title('图像的位与运算')
K2=bitcmp(I,8);
%等价于2^8-I
subplot(322),imshow(K2)
title('图像的位补运算')
K3=bitor(I,J);
subplot(323),imshow(K3)
title('图像的位或运算')
K4=bitxor(I,J);
subplot(324),imshow(K4)
title('图像的位异或运算')
K5=bitshift(I,2);
subplot(313),imshow(K5)
title('图像的位移运算')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -