Nodes/Refocus - Generative Refocusing/Depth Metric to Inverse
ComfyUI Node

Depth Metric to Inverse

Convert metric depth to inverse depth: 1/(1+d). Compresses far distances, useful for defocus maps.

By EricRollei·Created 8 months ago·Updated 3 months ago· 18
Depth Metric to Inverse
  • depth
  • inverse_depth
CategoryRefocus/Depth

Inputs (1)

NameTypeDefaultDescription
depthIMAGE

Outputs (1)

NameTypeDescription
inverse_depthIMAGE