Matlab---数字图像处理 ---图像对比度增强

I = imread('13.jpg');%原图像
L = imadjust(I,[0 1],[1,0]);%反色图像
L1 = imadjust(I,[0 1],[1 0],0.5);%高亮度段加重
L2 = imadjust(I,[0 1],[1 0],1.5);%低亮度段加重

figure;
subplot(221);imshow(I);title('原图像');
subplot(222);imshow(L);title('反色图像');
subplot(223);imshow(L1);title('高亮度加重图像');
subplot(224);imshow(L2);title('低亮度加重图像');

 

posted @ 2022-05-09 17:16  JimJZY  阅读(1086)  评论(0)    收藏  举报