ComfyUI Node
cv2.borderInterpolate
Raw wrapper of cv2.borderInterpolate(p, len, borderType). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.borderInterpolate
- int
◄p0►
◄len0►
◄borderTypeBORDER_DEFAULT►
Categoryimage/CV/low-level/cv2 B
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| p | INT | 0-2147483648–2147483647 | 0-based coordinate of the extrapolated pixel along one of the axes, likely \= len |
| len | INT | 0-2147483648–2147483647 | Length of the array along the corresponding axis. |
| borderType | COMBO | BORDER_DEFAULT | Border type, one of the #BorderTypes, except for #BORDER_TRANSPARENT and #BORDER_ISOLATED. When borderType==#BORDER_CONSTANT, the function always returns -1, regardless of p and len. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| int | INT | — |