元編程參考文件

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 色調對映
所屬包
影像處理