PointCloud.Read#

classmethod PointCloud.Read(filename: str, *args: Any, **kwargs: Any) PointCloud[source][source]#

Create point cloud from file

Parameters:

filename (str) – name of file

Returns:

new point cloud

Return type:

PointCloud instance

Read point cloud data from a file using open3d.io.read_point_cloud. Supported filetypes include PLY.

If the path is not absolute it is first searched for relative to the current directory, and if not found, it is searched for in the data folder of the mvtb_data package.

Note

filename may be given as a bare name ('bunny.ply') or with a redundant leading data/ ('data/bunny.ply', the older convention some book examples still use) – both resolve to the same file.