MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / homogenize_points

Function homogenize_points

benchmark/models/zipmap/zipmap/utils/geometry.py:125–129  ·  view source on GitHub ↗

Convert batched points (xyz) to (xyz1).

(
    points,
)

Source from the content-addressed store, hash-verified

123 return cam_coords
124
125def homogenize_points(
126 points,
127):
128 """Convert batched points (xyz) to (xyz1)."""
129 return np.concatenate([points, np.ones_like(points[..., :1])], axis=-1)
130
131def closed_form_inverse_se3(se3, R=None, T=None):
132 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected