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.
cv2.getDefaultNewCameraMatrix
- cameraMatrix
- imgsize
- nparray
◄centerPrincipalPointfalse►
Categoryimage/CV/low-level/cv2 G
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| cameraMatrix | NPARRAY | Input camera matrix. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| imgsizeopt | CV_TUPLE | 0,0 | Camera 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. |
| centerPrincipalPointopt | BOOLEAN | false | Location 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)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |