MCPcopy Create free account
hub / github.com/AutonomousVehicleLaboratory/SemVecNet / homogenize

Function homogenize

semantic_mapping/src/utils/utils.py:34–36  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

32
33
34def homogenize(x):
35 # converts points from inhomogeneous to homogeneous coordinates
36 return np.vstack((x, np.ones((1, x.shape[1]))))
37
38
39def dehomogenize(x):

Callers 3

project_pcdMethod · 0.90
update_mapMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected