dcp详解
dcp(Digital Camera Profile,数码照相机配置文件),是Adobe为RAW格式照片提供的颜色配置文件。
对大家常用的TIFF、JPEG照片来说,颜色配置文件是icc,TIFF、JPEG文件像素的RGB相同,但是icc不同,照片的颜色完全不同。同理,RAW格式照片,dcp不同,颜色也会不同。
dcp与icc是非常相似的,都是对RGB的颜色解释。dcp与icc的区别,icc只包括固定的白点,而dcp允许变化的白点,对应RAW的不同白平衡调整。
dcp是Adobe推出DNG(Digital Nagtive,数码负片)时配套的一个标准,既允许DNG文件嵌入dcp,也允许dcp文件独立使用,配合RAW解码。Adobe的Lightroom、ACR都支持dcp,DxO的解码软件PhotoLab现在也开始支持dcp,免费的共享解码软件RawTherapee也支持dcp。
dcp里有什么?可以下载dcptool(http://dcptool·sourceforge·net/Usage·html),把dcp文件转换成xml文本,就能看清楚dcp包含了哪些数据。这些数据标签的含义,可以从DNG协议里面找到。DNG协议可以从下面链接下载。
(http://wwwimages.adobe.com/conte ... ng_spec_1.5.0.0.pdf)
一个Adobe提供的dcp内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<dcpData>
<ProfileName>Adobe Standard</ProfileName>
<CalibrationIlluminant1>17</CalibrationIlluminant1>
<CalibrationIlluminant2>21</CalibrationIlluminant2>
<ColorMatrix1 Rows="3" Cols="3">
<Element Row="2" Col="2">0.713300</Element>
<Element Row="2" Col="1">0.067100</Element>
<Element Row="2" Col="0">-0.016200</Element>
<Element Row="1" Col="2">0.316100</Element>
<Element Row="1" Col="1">1.089200</Element>
<Element Row="1" Col="0">-0.363000</Element>
<Element Row="0" Col="2">0.029900</Element>
<Element Row="0" Col="1">-0.327600</Element>
<Element Row="0" Col="0">0.768300</Element>
</ColorMatrix1>
<ColorMatrix2 Rows="3" Cols="3">
<Element Row="2" Col="2">0.652700</Element>
<Element Row="2" Col="1">0.167300</Element>
<Element Row="2" Col="0">-0.099300</Element>
<Element Row="1" Col="2">0.247400</Element>
<Element Row="1" Col="1">1.301000</Element>
<Element Row="1" Col="0">-0.523800</Element>
<Element Row="0" Col="2">-0.050300</Element>
<Element Row="0" Col="1">-0.184700</Element>
<Element Row="0" Col="0">0.664000</Element>
</ColorMatrix2>
<ForwardMatrix1 Rows="3" Cols="3">
<Element Row="2" Col="2">0.727600</Element>
<Element Row="2" Col="1">0.000200</Element>
<Element Row="2" Col="0">0.097300</Element>
<Element Row="1" Col="2">0.041800</Element>
<Element Row="1" Col="1">0.719800</Element>
<Element Row="1" Col="0">0.238400</Element>
<Element Row="0" Col="2">0.141800</Element>
<Element Row="0" Col="1">0.308900</Element>
<Element Row="0" Col="0">0.513500</Element>
</ForwardMatrix1>
<ForwardMatrix2 Rows="3" Cols="3">
<Element Row="2" Col="2">0.670100</Element>
<Element Row="2" Col="1">0.000600</Element>
<Element Row="2" Col="0">0.154400</Element>
<Element Row="1" Col="2">0.048200</Element>
<Element Row="1" Col="1">0.628000</Element>
<Element Row="1" Col="0">0.323800</Element>
<Element Row="0" Col="2">0.157200</Element>
<Element Row="0" Col="1">0.257900</Element>
<Element Row="0" Col="0">0.549300</Element>
</ForwardMatrix2>
<ReductionMatrix1 Rows="0" Cols="0"/>
<ReductionMatrix2 Rows="0" Cols="0"/>
<Copyright>Copyright 2017 Adobe Systems, Inc.</Copyright>
<EmbedPolicy>0</EmbedPolicy>
<ProfileHueSatMapEncoding>0</ProfileHueSatMapEncoding>
<HueSatDeltas1 hueDivisions="90" satDivisions="30" valDivisions="1">
<Element HueDiv="0" SatDiv="0" ValDiv="0" HueShift="2.000000" SatScale="1.000000" ValScale="1.000000"/>
<Element HueDiv="0" SatDiv="1" ValDiv="0" HueShift="2.000000" SatScale="1.653366" ValScale="1.014812"/>
<Element HueDiv="0" SatDiv="2" ValDiv="0" HueShift="2.000000" SatScale="1.629579" ValScale="1.029623"/>
<Element HueDiv="0" SatDiv="3" ValDiv="0" HueShift="2.000000" SatScale="1.606470" ValScale="1.044434"/>
…………
<Element HueDiv="89" SatDiv="29" ValDiv="0" HueShift="1.822226" SatScale="1.000000" ValScale="1.417897"/>
</HueSatDeltas1>
<HueSatDeltas2 hueDivisions="90" satDivisions="30" valDivisions="1">
<Element HueDiv="0" SatDiv="0" ValDiv="0" HueShift="2.000000" SatScale="1.000000" ValScale="1.000000"/>
<Element HueDiv="0" SatDiv="1" ValDiv="0" HueShift="2.000000" SatScale="1.795000" ValScale="1.016612"/>
<Element HueDiv="0" SatDiv="2" ValDiv="0" HueShift="2.000000" SatScale="1.766137" ValScale="1.033224"/>
<Element HueDiv="0" SatDiv="3" ValDiv="0" HueShift="2.000000" SatScale="1.738191" ValScale="1.049836"/>
…………
<Element HueDiv="89" SatDiv="29" ValDiv="0" HueShift="1.822226" SatScale="1.000000" ValScale="1.458881"/>
</HueSatDeltas2>
<LookTable hueDivisions="36" satDivisions="8" valDivisions="16">
<Element HueDiv="0" SatDiv="0" ValDiv="0" HueShift="0.000000" SatScale="1.000000" ValScale="1.000000"/>
<Element HueDiv="0" SatDiv="0" ValDiv="1" HueShift="0.000000" SatScale="1.000000" ValScale="1.000000"/>
<Element HueDiv="0" SatDiv="0" ValDiv="2" HueShift="0.000000" SatScale="1.000000" ValScale="1.000000"/>
<Element HueDiv="0" SatDiv="0" ValDiv="3" HueShift="0.000000" SatScale="1.000000" ValScale="1.000000"/>
…………
<Element HueDiv="35" SatDiv="7" ValDiv="15" HueShift="-11.537790" SatScale="1.000000" ValScale="1.000000"/>
</LookTable>
<ProfileCalibrationSignature>com.adobe</ProfileCalibrationSignature>
<UniqueCameraModelRestriction>Sony ILCE-7RM3</UniqueCameraModelRestriction>
<ProfileLookTableEncoding>0</ProfileLookTableEncoding>
<BaselineExposureOffset>0.000000</BaselineExposureOffset>
<DefaultBlackRender>0</DefaultBlackRender>
</dcpData>
ProfileName是“Adobe Standard”,对应Lightroom、ACR里面配置文件的“Adobe颜色”,照相机型号是“Sony ILCE-7RM3”。
简单说,dcp里面有用于计算白平衡的颜色矩阵(ColorMatrix)、转换颜色的矩阵(ForwardMatrix)和颜色校准的3DLUT数据表(ProfileHueSatMap),每个都是两组,分别对应低色温(2800K)和高色温(6500K),使用时要按照当前的光源色温进行内插。
dcp里面还有一组3DLUT(ProfileLookTable)和一条影调曲线(ToneCurve)。
强调一点,dcp的文件名对使用来说没什么意义,允许任意改变。区别不同dcp是靠内部标签ProfileName和UniqueCameraModel。
因为ColorMatrix、ForwardMatrix、ProfileHueSatMap都依赖照相机CMOS的光谱响应,所以不同照相机的dcp不应该混用,UniqueCameraModel是照相机型号的唯一标识,用于区别不同的CMOS。所以Lightroom、ACR只会列出UniqueCameraModel相同的dcp。
标签ProfileName用于描述同一照相机不同颜色风格的dcp,也就是Lightroom、ACR里面“配置文件”显示的内容。所以ProfileName要保持唯一性,不然Lightroom、ACR无法区分不同的dcp。
ProfileName与dcp的文件名本身没有关系,使用ProfileName做文件名可以保证ProfileName的唯一性,可以避免ProfileName相同的dcp混淆。
Adobe提供的dcp可以分为2组,一组是Adobe自己的颜色风格,包括“Adobe颜色”、“Adobe标准”、“Adobe风景”、“Adobe人像”、“Adobe鲜艳”,共用一个相同的dcp,存放在目录C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Adobe Standard下面,文件名为“照相机型号(空格)Adobe Standard.dcp”。
“Adobe颜色”与这个dcp对应,其他的“Adobe风景”、“Adobe人像”、“Adobe鲜艳”都是Lightroom、ACR在“Adobe颜色”基础上内部调整颜色数据后的结果。
在Lightroom、ACR里面,这一组dcp被分类为“Adobe Raw”。
另一组dcp是Adobe模拟照相机内部影像风格制作的dcp,存放目录为:
C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Camera,每个照相机一个子目录,每种影像风格单独一个dcp。
在Lightroom、ACR里面,这一组dcp被分类为“Camera Matching”。
Adobe的Lightroom、ACR还可以使用其他人自己制作的dcp,这些dcp需要放在下面目录:
C:\Users\用户名\AppData\Roaming\Adobe\CameraRaw\CameraProfiles。
在Lightroom、ACR里面,这一类别人制作的dcp被分类为“配置文件”。
下面分享福利!
Adobe始终未提供佳能照相机EOS RP的模拟影像风格的dcp,我们可以参考5D MarkIV的影像风格,自己制作一个3DLUT(LookTable)和影调曲线(ToneCurve),用一个dcp把RP的RAW解码输出校准到5D MarkIV的影像风格。
当然也可以把其他照相机的RAW解码,校准到5D MarkIV的影像风格。
我自己制作了一些模拟5D MarkIV的影像风格的dcp,有兴趣的可以下载试用。
链接:https://pan.baidu.com/s/1LsE2bLmnAtFqScq0ctNvAg
使用方法:
1、把下载的dcp拷贝到目录:C:\Users\用户名\AppData\Roaming\Adobe\CameraRaw\CameraProfiles
2、在Lightroom、ACR里面的“配置文件”类别下,找到这些dcp,使用之。
3、这些dcp的ProfileName为,照相机简称+Camera+风格,比如“RP Camera Landscape”。


