Nodes/comfyui_cv/cv2.omnidir.undistortImage
ComfyUI Node

cv2.omnidir.undistortImage

Raw wrapper of cv2.omnidir.undistortImage(distorted, K, D, xi, flags, new_size?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'omnidir' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.omnidir.undistortImage
  • distorted
  • K
  • D
  • xi
  • new_size
  • nparray
flags0
Categoryimage/CV/low-level/omnidir

Inputs (6)

NameTypeDefaultDescription
distortedNPARRAY,IMAGE,MASK - - - 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.
KNPARRAY,IMAGE,MASK - - - 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.
DNPARRAY,IMAGE,MASK - - - 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.
xiNPARRAY,IMAGE,MASK - - - 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.
flagsINT0-2147483648–2147483647 - - -
new_sizeoptCV_TUPLE0,0One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place.

Outputs (1)

NameTypeDescription
nparrayNPARRAY