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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| point | NPARRAY | Input 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_max | INT | 0-2147483648–2147483647 | Max count of Hough lines. |
| threshold | INT | 0-2147483648–2147483647 | %Accumulator threshold parameter. Only those lines are returned that get enough votes ( $>\texttt{threshold}$ ). |
| min_rho | FLOAT | 0.0000-1e+38–1e+38 | Minimum 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_rho | FLOAT | 0.0000-1e+38–1e+38 | Maximum value for $\rho$ for the accumulator. |
| rho_step | FLOAT | 0.0000-1e+38–1e+38 | Distance resolution of the accumulator. |
| min_theta | FLOAT | 0.0000-1e+38–1e+38 | Minimum angle value of the accumulator in radians. |
| max_theta | FLOAT | 0.0000-1e+38–1e+38 | Upper 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_step | FLOAT | 0.0000-1e+38–1e+38 | Angle resolution of the accumulator in radians. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| nparray | NPARRAY | — |