Nodes/comfyui_cv/cv2.idft
ComfyUI Node

cv2.idft

Raw wrapper of cv2.idft(src, flags?, nonzeroRows?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.idft
  • src
  • nparray
flagsnone (0)
nonzeroRows0
Categoryimage/CV/low-level/cv2 I

Inputs (3)

NameTypeDefaultDescription
srcNPARRAYinput floating-point real or complex array. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
flagsoptSTRINGnone (0)operation flags (see dft and #DftFlags). cv2.idft flags: one of none (0) plus any of DFT_COMPLEX_OUTPUT, DFT_REAL_OUTPUT, DFT_SCALE, DFT_INVERSE, DFT_ROWS, DFT_COMPLEX_INPUT, pipe-joined (e.g. "none (0) | DFT_COMPLEX_OUTPUT"). In the UI this renders as a dropdown with one toggle per flag.
nonzeroRowsoptINT0-2147483648–2147483647number of dst rows to process; the rest of the rows have undefined content (see the convolution sample in dft description. Preset to the OpenCV default (0).

Outputs (1)

NameTypeDescription
nparrayNPARRAY