96-03-18.m
来自「Matlab數位影音處理 影像方面的處理」· M 代码 · 共 31 行
M
31 行
clear all;
f=imread('d:\image\caribou.tif');
figure;
subplot(3,3,1);
imshow(f)
subplot(3,3,2);
imhist(f)
subplot(3,3,3)
g1=histeq(f,256);
imshow(g1),%ylim('autu')
subplot(3,3,4);
imhist(g1)
subplot(3,3,5);
plot(f,g1)
t1=64/96*[0:96];
t2=2*[97:160]-128;
t3=0.6632*[161:255]+85.8947;
T=uint8(floor([t1,t2,t3]));
g3=T(f);
subplot(3,3,8);
imshow(g3)
subplot(3,3,9);
imhist(g3)
h2=twomodegauss(0.15,0.05,0.75,0.05,1,0.07,0.002);
g2=histeq(f,h2);
subplot(3,3,6);
imshow(g2)
subplot(3,3,7);
imhist(g2)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?