PointCloud#
- class rapidtools.processing.street_structures.PointCloud(cluster_id: str, lon: float, lat: float, points: ndarray, rotations: ndarray, translations: ndarray)[source]#
Bases:
objectOne structure-from-motion cluster of a survey.
- Variables:
cluster_id (str) – Mapillary identifier of the cluster.
lon (float) – Longitude of the cluster’s local origin.
lat (float) – Latitude of the cluster’s local origin.
points (numpy.ndarray) –
(n, 3)point coordinates: meters east and north of the origin, and altitude.rotations (numpy.ndarray) –
(m, 3)axis-angle rotation of every shot (world to camera), the same vector an image’scomputed_rotationholds.translations (numpy.ndarray) –
(m, 3)translation of every shot.
Methods
Shots keyed by their rounded rotation vector.