Nodes/comfyui_cv/CV DFT Flags
ComfyUI Node

CV DFT Flags

Authors a flags value once and fans it out: wire the 'flags' STRING output into the flags input of any number of cv2_dft / cv2_idft nodes so they all share one configuration. Each toggle ORs one bit in. DFT_COMPLEX_OUTPUT gives the full 2-channel (re, im) spectrum the spectrum tools expect; idft usually wants DFT_SCALE | DFT_REAL_OUTPUT. The 'value' INT output is the resolved integer for raw int flag params or MathExpression.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV DFT Flags
    • flags
    • value
    flagsnone (0)
    Categoryimage/CV/low-level

    Inputs (1)

    NameTypeDefaultDescription
    flagsSTRINGnone (0)Pipe-joined cv2 constant names, e.g. "none (0) | DFT_COMPLEX_OUTPUT". In the UI this renders as a base dropdown with one toggle per flag.

    Outputs (2)

    NameTypeDescription
    flagsSTRINGThe pipe-joined flags string - wire it into the flags input of cv2_dft / cv2_idft nodes.
    valueINTThe resolved integer (constants OR-ed together).