ComfyUI Node
cv2.rescaleDepth
Raw wrapper of cv2.rescaleDepth(in_, type, depth_factor?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.rescaleDepth
- in_
- nparray
◄typeCV_32F►
◄depth_factor1000.0000►
Categoryimage/CV/low-level/cv2 R
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| in_ | NPARRAY,IMAGE,MASK | - - - Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| type | COMBO | CV_32F | - - - |
| depth_factoropt | FLOAT | 1000.0000-1e+38–1e+38 | - - - Preset to the OpenCV default (1000.0). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |