当前位置:文档之家› 颜色校正曲线 Color Correction Curves

颜色校正曲线 Color Correction Curves

颜色校正曲线 Color Correction CurvesColor Correction Curves make color adjustments using curves for each color channel. Depth based adjustments allow you to vary the color adjustment according to a pixel's distance from the camera. For example, objects on a landscape typically get more desaturated with distance due to the effect of particles in the atmosphere scattering. 色彩校正曲线使用曲线调整每一个颜色通道。

基于"深度"的调整允许我们根据摄像机与目标物的像素距离 调整其颜色。

例如,由于大气散射的存在,远处的物体通常饱和度更低。

Selective adjustments can also be applied, so you can swap a target color in the scene for another color of your own choosing. 也可以选择性的对场景中的一个目标颜色进行调整,将其换成你想要的颜色。

Lastly, Saturation is an easy way to adjust all color saturation or desaturation (until image turns black & white) which is an effect that is not achievable with curves only. 最后,饱和度是很容易的方法来调节所有颜色的饱和度或降低饱和度(直到图像变为黑白)这是仅曲线无 法达到的效果。

See also the new Color Correction Lut effect for lookup texture based color grading. 参见新的 Color Correction Lut effect 是基于颜色分级。

The following images demonstrate how by simply enhancing the saturation slider and the blue channel curve can make a scene drastically different 下面的图像演示了怎样通过简单增加饱和度滑块和蓝色通道曲线来制作显著不同的场景。

As with the other image effects, this effect is only available in Unity Pro and you must have the Pro Standard Assets installed before it becomes available. 跟其他图像处理特效一样,该特效目前只在 Unity Pro 版本中有效,而且在使用之前必须要安装 Pro Standard Assets。

Properties 属性Mode 模式 Chose between advanced or simple configuration modes. 在高级或简单配置模式之间切换Saturation 饱和度 Saturation level (0 creates a black & white image). 饱和度级别(0 为黑白图像)Red 红色 The red channel curve.红色通道曲线Green 绿色 The green channel curve.绿色通道曲线Blue 蓝色 The blue channel curve.蓝色通道曲线Red (Depth)红(深度) The red channel curve for depth based correction. 基于深度调整的红色通道曲线Green (Depth) 绿(深度) The green channel curve for depth based correction. 基于深度调整的绿色通道曲线Blue (Depth) 蓝(深度) The blue channel curve for depth based correction. 基于深度调整的蓝色通道曲线Blend Curve 混合曲线 Defines how blending between the foreground and background color correction is performed. 决定前景和背景颜色校正之间的如何混合Selective Color Correction 选择性颜色校正Enable 启用 Enables the optional selective color correction. 启用可选选择性颜色校正Key 关键色 The key color for selective color correction. 选择性颜色校正关键色Target 目标色 The target color for selective color correction. 选择性颜色校正目标色Understanding Curves 理解曲线Curves offer a powerful way to enhance an image and can be used to increase or decrease contrast, add a tint or create psychedelic color effects. Curves work on each of the red, green and blue color channels separately and are based around the idea of mapping each input brightness level (ie, the original brightness value of a pixel) to an output level of your choosing. The relationship between the input and output levels can be shown on a simple graph:曲线是改善图像的有力工具,它可被用来降低或升高对比度、加入染色,或者创造出一种迷幻色彩。

曲线 调整对红绿蓝三个颜色通道独立起作用, 其基本思想是将每一个输入的亮度值 (比如, 原始的像素亮度值) 映射到你最终选择的那个值上。

这张简单的图显示了输出值和输入值之间的关系The horizontal axis represents the input level and the vertical represents the output level. Any point on the line specifies the output value that a given input is mapped to during processing. When the "curve" is the default straight line running from bottom-left to top-right, the input value is mapped to an identical output value, which will leave the pixel unchanged. However, the curve can be redrawn to re-map the brightness levels as required. A simple example is when the line goes diagonally from top-left to bottom-right:X 轴显示输入值,Y 轴显示输出值,线上的任意一个点都表示实时的输出输入对应关系。

当曲线是默认的 一条从左下角到右上角的直线时,意味着输入的值被映射到相同的输出值,像素值将保持不变。

当然,曲 线可以改变,以重新映射所需的亮度级。

比如这样一个简单的例子,曲线沿对角线从左上角到右下角。

In this case, the pixel's brightness will be inverted; 0% will map to 100%, 25% to 75% and vice versa. If this is applied to all color channels then the image will be like a photographic negative of the original. 在这种情况下,像素的亮度将被反转,0%将映射到 100%,25%至 75%,反之亦然。

如果这是对所有颜 色通道的操作,图像会像照相底片一样反转。

Contrast 对比度Most of the detail in an image is conveyed by the difference in brightness levels between pixels, regardless of their colour. Pixels that differ by less than about 2% brightness are likely to be indistinguishable but above this, the greater the difference, the greater the impression of detail. The spread of brightness values in the image is referred to as its contrast. 图像中的大部分细节都通过像素之间的亮度差来表现,而不是它们的颜色。

像素之间的亮度差小于约 2% 时可能无法区分,但在此之上,差别越大,就意味着更多的细节表现。

图像中的亮度值的传播因此被称为 对比度。

If a shallow slope is used for the curve, rather than the corner-to-corner diagonal then the full range of input values will be squeezed into a narrower range of output values:如果使用一条斜率较小的曲线,而不是角对角的对角线,输入值将被挤压到一个较窄范围的输出值。

相关主题