Nodes/comfyui_cv/cv2.ft.FT02D_process
ComfyUI Node

cv2.ft.FT02D_process

Raw wrapper of cv2.ft.FT02D_process(matrix, kernel, mask?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ft' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.ft.FT02D_process
  • matrix
  • kernel
  • mask
  • nparray
Categoryimage/CV/low-level/ft

Inputs (3)

NameTypeDefaultDescription
matrixNPARRAY,IMAGE,MASKInput 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.
kernelNPARRAY,IMAGE,MASKKernel 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.
maskoptNPARRAY,IMAGE,MASKMask used for unwanted area marking. This function computes F-transfrom and inverse F-transfotm in one step. It is fully sufficient and optimized for `cv::Mat`. 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)

NameTypeDescription
nparrayNPARRAY