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.

By yuvraj108c·Created 2 years ago·Updated 2 months ago· 134
Depth Map Display ⚡
  • depths
  • IMAGE
colormap
invertfalse
contrast1.0
brightness0.00
gamma1.0
percentile_clip2.0
Categorytensorrt

Inputs (7)

NameTypeDefaultDescription
depthsDEPTHSRaw depth array from the Depth Anything Advanced node.
colormapCOMBOColor scheme for visualizing the depth map. 'grayscale' outputs a single-channel gray image, others apply OpenCV colormaps.
invertBOOLEANfalseFlip the depth values so that near becomes far and vice versa.
contrastoptFLOAT1.00.1–5Adjusts the spread of depth values around the midpoint. Values above 1.0 increase separation, below 1.0 compress the range.
brightnessoptFLOAT0.00-1–1Shifts all depth values up or down. Positive values brighten the output, negative values darken it.
gammaoptFLOAT1.00.1–5Non-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_clipoptFLOAT2.00–20Clips 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)

NameTypeDescription
IMAGEIMAGEColormapped depth visualization as an RGB image.