Nodes/comfyui_cv/CV Scale Homography
ComfyUI Node

CV Scale Homography

Scales a 3x3 homography from one resolution to another via numpy (T(scale_a) @ H @ T_inv(scale_b)). If both images were downscaled by factor S for feature detection, set scale_a=scale_b=1/S to recover the full-resolution homography. This is a numpy helper, not a cv2 wrapper.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Scale Homography
  • homography
  • homography
scale_a1.00
scale_b1.00
Categoryimage/CV/features

Inputs (3)

NameTypeDefaultDescription
homographyNPARRAY3x3 homography matrix (float64).
scale_aFLOAT1.000.000001–1000000Scale factor from detection-space to full resolution for image A (target/warp-ref image). 1.0 = no change.
scale_bFLOAT1.000.000001–1000000Scale factor from detection-space to full resolution for image B (source/warp image). 1.0 = no change.

Outputs (1)

NameTypeDescription
homographyNPARRAY