ComfyUI Node
DeepStereo: MiDaS Depth Estimator
A ComfyUI node in DeepStereo/Depth with 11 inputs and 2 outputs.
DeepStereo: MiDaS Depth Estimator
- image
- depth_map
- original_image
◄model_typeMiDaS_small►
◄process_width0►
◄invert_depthfalse►
◄contrast1.0►
◄brightness0.00►
◄gamma1.0►
◄depth_min0.00►
◄depth_max1.00►
◄blur_radius0►
◄normalize_depthtrue►
CategoryDeepStereo/Depth
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| model_type | COMBO | MiDaS_small | 3 options: MiDaS_small, DPT_Large, DPT_Hybrid |
| process_widthopt | INT | 00–2048 | Width for processing (0 = use original size) |
| invert_depthopt | BOOLEAN | false | Invert depth values |
| contrastopt | FLOAT | 1.00.1–3 | Adjust depth map contrast |
| brightnessopt | FLOAT | 0.00-1–1 | Adjust depth map brightness |
| gammaopt | FLOAT | 1.00.1–3 | Gamma correction |
| depth_minopt | FLOAT | 0.000–1 | Minimum depth value |
| depth_maxopt | FLOAT | 1.000–1 | Maximum depth value |
| blur_radiusopt | INT | 00–20 | Blur radius for smoothing |
| normalize_depthopt | BOOLEAN | true | Normalize depth to full range after adjustments |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| depth_map | IMAGE | — |
| original_image | IMAGE | — |