`

PhotoShop - 强光模式 的 响应曲线(关于人脸磨皮的思考)

    博客分类:
  • PS
PS 
阅读更多
用PS进行人脸磨皮时会用到“计算”命令对“高反差保留” 后的通道用“强光模式”进行混合。

那么,强光模式的作用是什么呢?

我的结论是:
当基色和混合色相同时,强光模式 本质上是进行了对比度的加强。
其响应曲线如下图:




  • 强光模式本质上和调整曲线没有任何区别(同源图层混合时)
  • 强光模式增强了中间色调的对比度




强光模式的定义:http://blog.sina.com.cn/s/blog_713dd87d0101axox.html
人脸磨皮的原理、教程(原理分析比较好):http://www.360doc.com/content/11/0924/00/4312319_150776582.shtml
人脸磨皮的教程(可操作性很不错):http://academy.fengniao.com/133/1332174_all.html#p1332174

最后附上绘制响应曲线的matlab代码:
%% 基色和混合色相同时 强光模式 响应曲线
f1=@(x) 2*x.^2;
f2=@(x)  1-2*(1-x).^2 ;

x1=linspace(0,0.5,128);
x2=linspace(.5,1,128);

y1=f1(x1);
y1(y1<0)=0;
y2=f2(x2);
y2(y2>1)=1;
plot([x1 x2],[y1,y2],'LineWidth',3,'Color',[1 0 0])
grid on

fontSize=16;
xlabel('基色及混合色灰度值','FontSize',fontSize)
ylabel('结果色','FontSize',fontSize)
%axis equal
title('基色和混合色相同时 强光模式 响应曲线','FontSize',fontSize)


hold on
plot([x1 x2],[x1 x2],'--','LineWidth',2,'Color',[0 0 1])
legend('强光模式','正常模式','Location','SouthEast')
axis equal
xlim([0 1])
ylim([0 1])
  • 大小: 10.4 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics