ComfyUI Node
cv2.inRange
Raw wrapper of cv2.inRange(src, lowerb, upperb). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.inRange
- src
- lowerb
- upperb
- nparray
Categoryimage/CV/low-level/cv2 I
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| src | NPARRAY,IMAGE,MASK | first input array. 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. | |
| lowerb | NPARRAY,IMAGE,MASK | inclusive lower boundary array or a scalar. 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. | |
| upperb | NPARRAY,IMAGE,MASK | inclusive upper boundary array or a scalar. 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. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |