Nodes/comfyui_cv/cv2.fisheye.estimateNewCameraMatrixForUndistortRectify
ComfyUI Node

cv2.fisheye.estimateNewCameraMatrixForUndistortRectify

Raw wrapper of cv2.fisheye.estimateNewCameraMatrixForUndistortRectify(K, D, image_size, R, balance?, new_size?, fov_scale?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'fisheye' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.fisheye.estimateNewCameraMatrixForUndistortRectify
  • K
  • D
  • image_size
  • R
  • new_size
  • nparray
balance
fov_scale
Categoryimage/CV/low-level/fisheye

Inputs (7)

NameTypeDefaultDescription
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.
image_sizeCV_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.
RNPARRAY,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.
balanceoptSTRING - - - Optional - leave blank to use the OpenCV default. Accepts a Python literal, e.g. 3, 1.5, true, or (3, 3).
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.
fov_scaleoptSTRING - - - Optional - leave blank to use the OpenCV default. Accepts a Python literal, e.g. 3, 1.5, true, or (3, 3).

Outputs (1)

NameTypeDescription
nparrayNPARRAY