pointcloudset.diff.pointcloud module¶
Functions to calculate differences between frames.
- pointcloudset.diff.pointcloud.calculate_distance_to_pointcloud(pointcloud, target)¶
Calculate the differences for each point in a pointcloud which also exists in the target pointcloud (pointcloud - target). Points with the same original_id are compared.
Note
Adds the results to the data of the pointcloud.
- Parameters
pointcloud (PointCloud) – PointCloud for which the differences to the target are calculated.
target (PointCloud) – PointCloud which is substracted from pointcloud.
- Returns
PointCloud including differences to target.
- Return type
- Raises
ValueError – If there are no original_ids in pointcloud or in target or if they have no common original_ids.
NotImplementedError – If difference has already been calculated.