ComfyUI Node
cv2.ft.FT02D_iteration
Raw wrapper of cv2.ft.FT02D_iteration(matrix, kernel, mask, firstStop, maskOutput?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ft' module. See the OpenCV documentation for details.
cv2.ft.FT02D_iteration
- matrix
- kernel
- mask
- maskOutput
- int
- nparray_1
- nparray_2
◄firstStopfalse►
Categoryimage/CV/low-level/ft
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| matrix | NPARRAY,IMAGE,MASK | Input matrix. 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. | |
| kernel | NPARRAY,IMAGE,MASK | Kernel used for processing. Function `ft::createKernel` can be used. 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. | |
| mask | NPARRAY,IMAGE,MASK | Mask used for unwanted area marking. 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. | |
| firstStop | BOOLEAN | false | If **true** function returns -1 when first problem appears. In case of `false` the process is completed and summation of all problems returned. This function computes iteration of F-transfrom and inverse F-transfotm and handle image and mask change. The function is used in `ft::inpaint` function. |
| maskOutputopt | NPARRAY,IMAGE,MASK | Mask after one iteration. 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 (3)
| Name | Type | Description |
|---|---|---|
| int | INT | — |
| nparray_1 | NPARRAY | — |
| nparray_2 | NPARRAY | — |