Nodes/comfyui_cv/cv2.getDefaultNewCameraMatrix
ComfyUI Node

cv2.getDefaultNewCameraMatrix

Raw wrapper of cv2.getDefaultNewCameraMatrix(cameraMatrix, imgsize?, centerPrincipalPoint?). 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.getDefaultNewCameraMatrix
  • cameraMatrix
  • imgsize
  • nparray
centerPrincipalPointfalse
Categoryimage/CV/low-level/cv2 G

Inputs (3)

NameTypeDefaultDescription
cameraMatrixNPARRAYInput camera matrix. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
imgsizeoptCV_TUPLE0,0Camera view image size in pixels. One 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.
centerPrincipalPointoptBOOLEANfalseLocation of the principal point in the new camera matrix. The parameter indicates whether this location should be at the image center or not. Preset to the OpenCV default (False).

Outputs (1)

NameTypeDescription
nparrayNPARRAY