ComfyUI Node
Depth Map Display ⚡
Visualizes raw depth arrays using colormaps with adjustable contrast, brightness, gamma, and percentile clipping. Connect to the Depth Anything Advanced node's DEPTHS output.
Depth Map Display ⚡
- depths
- IMAGE
◄colormap▾►
◄invertfalse►
◄contrast1.0►
◄brightness0.00►
◄gamma1.0►
◄percentile_clip2.0►
Categorytensorrt
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| depths | DEPTHS | Raw depth array from the Depth Anything Advanced node. | |
| colormap | COMBO | Color scheme for visualizing the depth map. 'grayscale' outputs a single-channel gray image, others apply OpenCV colormaps. | |
| invert | BOOLEAN | false | Flip the depth values so that near becomes far and vice versa. |
| contrastopt | FLOAT | 1.00.1–5 | Adjusts the spread of depth values around the midpoint. Values above 1.0 increase separation, below 1.0 compress the range. |
| brightnessopt | FLOAT | 0.00-1–1 | Shifts all depth values up or down. Positive values brighten the output, negative values darken it. |
| gammaopt | FLOAT | 1.00.1–5 | Non-linear tone curve. Values below 1.0 reveal more detail in dark/distant regions, above 1.0 reveals more detail in bright/near regions. |
| percentile_clipopt | FLOAT | 2.00–20 | Clips outlier depth values at this percentile from both ends of the distribution before normalizing. Prevents extreme depth values from compressing the useful range. Set to 0 for no clipping. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | Colormapped depth visualization as an RGB image. |