Photoshop PhotoFilter 像素数学
有人用过Photoshop中的照片滤镜吗?编辑>调整>照片滤镜...
它产生了非常漂亮的图像色调,我无法使用混合模式重现。有谁知道这个过滤器背后的像素数学吗? - 所以我可以基于它构建一个着色器。
它似乎基本上是一种保持亮度的色调。
具有变量:颜色、数量和保持亮度。
有什么想法吗?
Has anyone used the photo filter in Photoshop? Edit > Adjustments > Photo Filter...
It produces a really nice image tint that I've been unable to reproduce with blending modes. Has anyone got any idea of the pixel maths behind this filter? - So I can build a shader based on it.
It seems to basically be a luminosity preserving colour tint.
Has variables: Color, Amount and Preserve Luminosity.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
滤镜(在光线下)是乘法的,如:
red_filter = ( 1 , 0 , 0 ) * color
我认为它不存在任何混合模式,因为该系统的任何透明叠加都会将图像变暗到一定程度。
Filters (in light) are multiplicative, as in:
red_filter = ( 1 , 0 , 0 ) * color
I don't think any blend-modes exist for it, since any transparent overlay with that system would darken the image to some degree.
这非常简单,但如果有人想要 hlsl 代码:
It's incredibly simple, but if anyone wants the hlsl code for this: