python去除强光
Photoshop’s Hard Light definition is the longest one in the “help” file, and actually gives some helpful information!
Photoshop的Hard Light定义是“帮助”文件中最长的定义,实际上提供了一些有用的信息!
Hard Light: Multiplies or screens the colors, depending on the blend color. The effect is similar to shining a harsh spotlight on the image. If the blend color (light source) is lighter than 50% gray, the image is lightened, as if it were screened. This is useful for adding highlights to an image. If the blend color is darker than 50% gray, the image is darkened, as if it were multiplied. This is useful for adding shadows to an image. Painting with pure black or white results in pure black or white.
硬光:根据混合颜色来加倍或加网颜色。 效果类似于在图像上照射刺眼的聚光灯。 如果混合色(光源)浅于50%的灰色,则图像变亮,就像被屏蔽了一样。 这对于为图像添加高光很有用。 如果混合色比50%的灰度色深,则图像变暗,就好像是倍增的一样。 这对于向图像添加阴影很有用。 用纯黑色或白色绘画会产生纯黑色或白色。