ComfyUI Node

HDR Match

Sets an HDR shot's level to the plate it is composited onto. SDR to HDR picks its own exposure and white balance, while the plate's untouched pixels hold the scene's real values: one gain per channel, measured on the untouched mid-tones over the whole shot (no flicker), scales every pixel. A gain keeps every ratio, so the range SDR to HDR made above the plate's white stays for grading. Without an HDR shot the image passes through; without a matte the HDR shot does.

By AInVFX·Created 5 days ago·Updated about 17 hours ago· 2
HDR Match
  • image
  • plate
  • mask
  • hdr
  • image
◄grow24.00►
CategoryAInVFX/Paint a plate

Inputs (5)

NameTypeDefaultDescription
imageIMAGEThe shot in the plate's colour space as the SDR pass made it: the output without an HDR shot.
plateIMAGEThe plate's own values, in its colour space.
growFLOAT24.000–512Plate pixels the matte grows by before what is left counts as untouched: the composite's grow and feather.
maskoptMASKWhere the edits changed the shot: the composite's matte.
hdroptIMAGEThe HDR shot, in the plate's colour space.

Outputs (1)

NameTypeDescription
imageIMAGE—