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

Function dehomogenize

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

Source from the content-addressed store, hash-verified

37
38
39def dehomogenize(x):
40 # converts points from homogeneous to inhomogeneous coordinates
41 return x[:-1] / x[-1]
42
43
44from scipy.linalg import logm, expm

Callers 3

project_pcdMethod · 0.90
update_mapMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected