Nodes/comfyui_cv/CV Polar To Points
ComfyUI Node

CV Polar To Points

The inverse of 'CV Points To Polar': builds the point at each (radius, angle) around an origin - e.g. turn detected bearings back into image coordinates to render them (the endpoint of each clock hand), or place markers around a circle. A single-element radius (or angle) array broadcasts against the other array; empty inputs yield zero points.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
CV Polar To Points
  • radius
  • angle
  • points
  • count
origin_x0.00
origin_y0.00
angle_conventionclockwise from 12 o'clock (clock)
Categoryimage/CV/points

Inputs (5)

NameTypeDefaultDescription
radiusNPARRAY(N,) distances from the origin.
angleNPARRAY(N,) angles in degrees.
origin_xFLOAT0.00-1000000–1000000X pixel coordinate of the reference origin (e.g. the dial center, anchor, or ray start).
origin_yFLOAT0.00-1000000–1000000Y pixel coordinate of the reference origin (e.g. the dial center, anchor, or ray start).
angle_conventionCOMBOclockwise from 12 o'clock (clock)Must match the convention the angles were measured in.

Outputs (2)

NameTypeDescription
pointsNPARRAYNx1x2 float32 image coordinates.
countINT