open3d.io.read_point_cloud#
- open3d.io.read_point_cloud(filename: os.PathLike, format: str = 'auto', remove_nan_points: bool = False, remove_infinite_points: bool = False, print_progress: bool = False) open3d.geometry.PointCloud #
Function to read PointCloud from file
- Parameters:
filename (os.PathLike) – Path to file.
format (str, optional, default='auto') – The format of the input file. When not specified or set as
auto
, the format is inferred from file extension name.remove_nan_points (bool, optional, default=False) – If true, all points that include a NaN are removed from the PointCloud.
remove_infinite_points (bool, optional, default=False) – If true, all points that include an infinite value are removed from the PointCloud.
print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console
- Returns:
open3d.geometry.PointCloud