PointCloudManager module

PointCloudManager.create_heat_map(filename, outdir)[source]

Creates a heat map of the dense point cloud and exports it as heat_map.png in the dense directory.

Parameters:
  • filename (pathlib.Path) – Path to a .ply point cloud file.

  • outdir (pathlib.Path) – path to the project’s “out” directory.

PointCloudManager.create_height_map(filename, outdir)[source]

Creates a height map of the dense point cloud and exports it as height_map.png in the dense directory.

Parameters:
  • filename (pathlib.Path) – Path to a .ply point cloud file.

  • outdir (pathlib.Path) – path to the project’s “out” directory.

PointCloudManager.get_coordinates(filename)[source]

Helper method which extracts the x and y coordinates from the given .ply file.

Parameters:

filename (pathlib.Path) – Path to a .ply point cloud file.

PointCloudManager.remove_points(filename, minx, maxx, miny, maxy, minz, maxz)[source]

Method removes points from .ply point cloud that lie outside the provided bounds and exports as fused.ply into the dense directory. Bounds are inclusive.

Parameters:
  • filename (pathlib.Path) – Path to a .ply point cloud file.

  • minx (float) – minimum x axis bound.

  • maxx (float) – maximum x axis bound.

  • miny (float) – minimum y axis bound.

  • maxy (float) – maximum y axis bound.

  • minz (float) – minimum z axis bound.

  • maxz (float) – maximum z axis bound.