元编程参考文档

HDR 色调映射

4 个节点

本页内容 4

转为像素图像(Drago)

函数

Drago's adaptive logarithmic mapping (2003): luminance compressed by a logarithm whose base moves from 2 in the shadows to 10 in the highlights, the bias choosing how quickly.

签名
转为像素图像(Drago) -> Pixel Image
    HDR 图像: Hdr Pixel Image
    曝光补偿: 低精度数字
    饱和度: 低精度数字
    偏置: 低精度数字
PixelImage ToPixelImageDrago(
    HdrPixelImage hdr,
    float exposureCompensation = 0f,
    float saturation = 1f,
    float bias = 0.85f)

参数

名称类型默认值说明
HDR 图像Hdr Pixel Image—The HDR image, scene-linear.
曝光补偿低精度数字0Stops added after mapping: +1 doubles the brightness.
饱和度低精度数字1Colour saturation: 1 keeps the image's colours, below 1 mutes them.
偏置低精度数字0.85From 0.7 to 0.9: lower keeps more contrast in the highlights; 0.85 is the paper's default.

返回

结果Pixel Image
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
HDR 色调映射
所属包
图像处理

转为像素图像(Durand)

函数

Durand and Dorsey's fast bilateral filtering (2002): the log-luminance split by a bilateral filter into a base layer, whose range is compressed to Contrast, and the detail, kept.

签名
转为像素图像(Durand) -> Pixel Image
    HDR 图像: Hdr Pixel Image
    曝光补偿: 低精度数字
    对比度: 低精度数字
    饱和度: 低精度数字
    空间标准差: 低精度数字
    颜色标准差: 低精度数字
PixelImage ToPixelImageDurand(
    HdrPixelImage hdr,
    float exposureCompensation = 0f,
    float contrast = 4f,
    float saturation = 1f,
    float sigmaSpace = 2f,
    float sigmaColor = 2f)

参数

名称类型默认值说明
HDR 图像Hdr Pixel Image—The HDR image, scene-linear.
曝光补偿低精度数字0Stops added after mapping: +1 doubles the brightness.
对比度低精度数字4The range the base layer is compressed to, in natural-log units; 4 gives about 1:55.
饱和度低精度数字1Colour saturation: 1 keeps the image's colours, below 1 mutes them.
空间标准差低精度数字2The bilateral filter's spatial sigma, in pixels.
颜色标准差低精度数字2The bilateral filter's range sigma, in log-luminance.

返回

结果Pixel Image
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
HDR 色调映射
所属包
图像处理

转为像素图像(Mantiuk)

函数

Mantiuk's perceptual contrast mapping (2006): the log-luminance's contrast, at every scale of a pyramid, compressed by Scale in a perceptual response and the luminance solved back from it.

签名
转为像素图像(Mantiuk) -> Pixel Image
    HDR 图像: Hdr Pixel Image
    曝光补偿: 低精度数字
    缩放: 低精度数字
    饱和度: 低精度数字
PixelImage ToPixelImageMantiuk(
    HdrPixelImage hdr,
    float exposureCompensation = 0f,
    float scale = 0.7f,
    float saturation = 1f)

参数

名称类型默认值说明
HDR 图像Hdr Pixel Image—The HDR image, scene-linear.
曝光补偿低精度数字0Stops added after mapping: +1 doubles the brightness.
缩放低精度数字0.7Contrast scale, from 0.6 to 0.9: lower compresses more.
饱和度低精度数字1Colour saturation: 1 keeps the image's colours, below 1 mutes them.

返回

结果Pixel Image
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
HDR 色调映射
所属包
图像处理

转为像素图像(Reinhard)

函数

Reinhard's photographic tone reproduction (2005): each channel compressed by v / (v + adaptation), the adaptation level a blend of the pixel's own colour and luminance and of the image's means.

签名
转为像素图像(Reinhard) -> Pixel Image
    HDR 图像: Hdr Pixel Image
    曝光补偿: 低精度数字
    强度: 低精度数字
    光适应: 低精度数字
    色彩适应: 低精度数字
PixelImage ToPixelImageReinhard(
    HdrPixelImage hdr,
    float exposureCompensation = 0f,
    float intensity = 0f,
    float lightAdaptation = 1f,
    float colorAdaptation = 0f)

参数

名称类型默认值说明
HDR 图像Hdr Pixel Image—The HDR image, scene-linear.
曝光补偿低精度数字0Stops added after mapping: +1 doubles the brightness.
强度低精度数字0Overall brightness, from -8 to 8: higher is brighter.
光适应低精度数字1From 0 to 1: 1 adapts each pixel to its own light, 0 to the image's average.
色彩适应低精度数字0From 0 to 1: 1 adapts each channel separately, 0 adapts all three to luminance.

返回

结果Pixel Image
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
HDR 色调映射
所属包
图像处理