Nodes/comfyui_cv/cv2.estimateAffine3D (1/2)
ComfyUI Node

cv2.estimateAffine3D (1/2)

Raw wrapper of cv2.estimateAffine3D(src, dst, ransacThreshold?, confidence?). 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.estimateAffine3D (1/2)
  • src
  • dst
  • retval
  • out
  • inliers
ransacThreshold3.0000
confidence0.9900
Categoryimage/CV/low-level/cv2 E

Inputs (4)

NameTypeDefaultDescription
srcNPARRAYFirst input 3D point set containing $(X,Y,Z)$. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
dstNPARRAYSecond input 3D point set containing $(x,y,z)$. The low-level cv2 function writes its result into this array in place, but this wrapper passes cv2 a private copy, so your input array is never modified. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
ransacThresholdoptFLOAT3.0000-1e+38–1e+38Maximum reprojection error in the RANSAC algorithm to consider a point as an inlier. Preset to the OpenCV default (3.0).
confidenceoptFLOAT0.9900-1e+38–1e+38Confidence level, between 0 and 1, for the estimated transformation. Anything between 0.95 and 0.99 is usually good enough. Values too close to 1 can slow down the estimation significantly. Values lower than 0.8-0.9 can result in an incorrectly estimated transformation. Preset to the OpenCV default (0.99).

Outputs (3)

NameTypeDescription
retvalBOOLEAN
outNPARRAY
inliersNPARRAY