Depth Metric to Inverse
DepthMetricToInverse
Convert metric depth to inverse depth: 1/(1+d). Compresses far distances, useful for defocus maps.
Pack: Refocus - Generative Refocusing
custom_nodes.comfyui-refocus
Inputs (1)
| Name | Type | Required |
|---|---|---|
| depth | IMAGE | required |
Outputs (1)
| Name | Type |
|---|---|
| inverse_depth | IMAGE |