src.pcloud.factory.point_cloud_arrays_factory

Classes

PointCloudArraysFactory(X, F[, y, header, ...])

class src.pcloud.factory.point_cloud_arrays_factory.PointCloudArraysFactory(X, F, y=None, header=None, fnames=None, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to instantiate PointCloud objects from arrays. See PointCloud and also PointCloudFactory.

Variables:
  • X (np.ndarray) – The matrix representing the coordinates of the points.

  • F (np.ndarray) – The matrix representing the point-wise features.

  • y (np.ndarray) – The vector representing the point-wise classes.

  • header – The LAS header.

  • fnames (list or tuple) – The name for each feature.

__init__(X, F, y=None, header=None, fnames=None, **kwargs)

Initialize an instance of PointCloudArraysFactory.

Parameters:
  • X – The matrix of point coordinates.

  • F – The matrix of point-wise features.

  • y – The vector of classes (OPTIONAL).

  • header – The LAS header (OPTIONAL).

  • fnames – The name for each feature (OPTIONAL).

make(scale=None, force_scale=False, logging=True, handle_overflow=True)

Make a point cloud from arrays. See point_cloud_factory.PointCloudFactory.make()