Nodes/comfyui_cv/cv2.HoughLinesPointSet
ComfyUI Node

cv2.HoughLinesPointSet

Raw wrapper of cv2.HoughLinesPointSet(point, lines_max, threshold, min_rho, max_rho, rho_step, min_theta, max_theta, theta_step). 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.HoughLinesPointSet
  • point
  • nparray
lines_max0
threshold0
min_rho0.0000
max_rho0.0000
rho_step0.0000
min_theta0.0000
max_theta0.0000
theta_step0.0000
Categoryimage/CV/low-level/cv2 H

Inputs (9)

NameTypeDefaultDescription
pointNPARRAYInput vector of points. Each vector must be encoded as a Point vector $(x,y)$. Type must be CV_32FC2 or CV_32SC2. A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here.
lines_maxINT0-2147483648–2147483647Max count of Hough lines.
thresholdINT0-2147483648–2147483647%Accumulator threshold parameter. Only those lines are returned that get enough votes ( $>\texttt{threshold}$ ).
min_rhoFLOAT0.0000-1e+38–1e+38Minimum value for $\rho$ for the accumulator (Note: $\rho$ can be negative. The absolute value $|\rho|$ is the distance of a line to the origin.).
max_rhoFLOAT0.0000-1e+38–1e+38Maximum value for $\rho$ for the accumulator.
rho_stepFLOAT0.0000-1e+38–1e+38Distance resolution of the accumulator.
min_thetaFLOAT0.0000-1e+38–1e+38Minimum angle value of the accumulator in radians.
max_thetaFLOAT0.0000-1e+38–1e+38Upper bound for the angle value of the accumulator in radians. The actual maximum angle may be slightly less than max_theta, depending on the parameters min_theta and theta_step.
theta_stepFLOAT0.0000-1e+38–1e+38Angle resolution of the accumulator in radians.

Outputs (1)

NameTypeDescription
nparrayNPARRAY