《数字图像处理(MATLAB)》冈萨雷斯

《数字图像处理(MATLAB)》冈萨雷斯

未完结!

参考:数字图像处理——https://blog.csdn.net/dujing2019/article/category/8820151

ISSUE汇总:

第5章彩色图像处理

Issue1:P138例 5.4 执行p_snap = iccread('SNAP2007.icc'); %新闻纸剖面 报错?

答:缺少SNAP2007.icc文件。下载地址:ICC Profile Registry——http://www.color.org/registry/index.xalter

代码如下:

f=imread('D:数字图像处理第六章学习girl.png');
fp = padarray(f, [40 40], 255, 'both');
fp = padarray(fp, [4 4], 230, 'both');
p_srgb = iccread('E:CodesRGB.icm');           %描述sRGB彩色空间的剖面
p_snap = iccread('E:CodeSNAP2007.icc');       %新闻纸剖面
cform1 = makecform('icc', p_srgb, p_snap);
fp_newsprint = applycform(fp, cform1);
cform2 = makecform('icc', p_snap, p_srgb,  'SourceRenderingIntent', 'AbsoluteColorimetric', 'DestRenderingIntent', 'AbsoluteColorimetric');
fp_proof = applycform(fp_newsprint, cform2);   %指定渲染意图
subplot(1, 2, 1), imshow(fp);title('(a)具有白边的原始图像');
subplot(1, 2, 2), imshow(fp_proof);title('(b)当在新闻纸上打印时对图像外观的模拟 ');
————————————————
参考:1)数字图像处理第六章——彩色图像处理(上)——https://blog.csdn.net/Dujing2019/article/details/89445038

Issue2:

原文地址:https://www.cnblogs.com/Alliswell-WP/p/DigitalImageProcessing4MATLAB.html